aboutsummaryrefslogtreecommitdiff
path: root/src/client/windows/sender/crash_report_sender.h
diff options
context:
space:
mode:
authorbryner <bryner@4c0a9323-5329-0410-9bdc-e9ce6186880e>2006-10-16 17:27:03 +0000
committerbryner <bryner@4c0a9323-5329-0410-9bdc-e9ce6186880e>2006-10-16 17:27:03 +0000
commit8b1645d8cdb34035c0b132fe8b574bc5ee48fb62 (patch)
treeb161860b45cce80cfbe75806f1d9d9cb2aa02fa8 /src/client/windows/sender/crash_report_sender.h
parentHandle frame pointer omission (#21), part 3: SourceLineResolver and PDBSource... (diff)
downloadbreakpad-8b1645d8cdb34035c0b132fe8b574bc5ee48fb62.tar.xz
Implement a tool to upload symbols on Windows, given an exe or dll file with
debugging info. Refactor common code into HTTPUpload so that the multipart POST request code can be shared with CrashReportSender. #47 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@39 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/windows/sender/crash_report_sender.h')
-rw-r--r--src/client/windows/sender/crash_report_sender.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/client/windows/sender/crash_report_sender.h b/src/client/windows/sender/crash_report_sender.h
index 52bec788..39267243 100644
--- a/src/client/windows/sender/crash_report_sender.h
+++ b/src/client/windows/sender/crash_report_sender.h
@@ -40,14 +40,11 @@
#include <string>
#include <map>
-#include <vector>
namespace google_airbag {
-using std::string;
using std::wstring;
using std::map;
-using std::vector;
class CrashReportSender {
public:
@@ -62,33 +59,6 @@ class CrashReportSender {
const wstring &dump_file_name);
private:
- class AutoInternetHandle;
-
- // Generates a new multipart boundary for a POST request
- static wstring GenerateMultipartBoundary();
-
- // Generates a HTTP request header for a multipart form submit.
- static wstring GenerateRequestHeader(const wstring &boundary);
-
- // Given a set of parameters and a minidump file name,
- // generates a multipart request body string with these parameters
- // and minidump contents. Returns true on success.
- static bool GenerateRequestBody(const map<wstring, wstring> &parameters,
- const wstring &minidump_filename,
- const wstring &boundary,
- string *request_body);
-
- // Fills the supplied vector with the contents of filename.
- static void GetFileContents(const wstring &filename, vector<char> *contents);
-
- // Converts a UTF16 string to UTF8.
- static string WideToUTF8(const wstring &wide);
-
- // Checks that the given list of parameters has only printable
- // ASCII characters in the parameter name, and does not contain
- // any quote (") characters. Returns true if so.
- static bool CheckParameters(const map<wstring, wstring> &parameters);
-
// No instances of this class should be created.
// Disallow all constructors, destructors, and operator=.
CrashReportSender();