| Index: chrome/browser/media/webrtc_log_uploader.h
|
| diff --git a/chrome/browser/media/webrtc_log_uploader.h b/chrome/browser/media/webrtc_log_uploader.h
|
| index 40d95547bf78a001dc88f6b36d3810394249ea10..3ff215282997ca7fa800284f4a4180f0fcf4a647 100644
|
| --- a/chrome/browser/media/webrtc_log_uploader.h
|
| +++ b/chrome/browser/media/webrtc_log_uploader.h
|
| @@ -27,6 +27,13 @@ class URLFetcher;
|
|
|
| typedef struct z_stream_s z_stream;
|
|
|
| +struct WebRtcRtpDumpDescription {
|
| + WebRtcRtpDumpDescription(const std::string& name, const base::FilePath& path);
|
| +
|
| + std::string name;
|
| + base::FilePath path;
|
| +};
|
| +
|
| // Used when uploading is done to perform post-upload actions. |log_path| is
|
| // also used pre-upload.
|
| struct WebRtcLogUploadDoneData {
|
| @@ -34,6 +41,7 @@ struct WebRtcLogUploadDoneData {
|
| ~WebRtcLogUploadDoneData();
|
|
|
| base::FilePath log_path;
|
| + std::vector<WebRtcRtpDumpDescription> rtp_dumps;
|
| WebRtcLoggingHandlerHost::UploadDoneCallback callback;
|
| scoped_refptr<WebRtcLoggingHandlerHost> host;
|
| std::string local_log_id;
|
| @@ -99,12 +107,9 @@ class WebRtcLogUploader : public net::URLFetcherDelegate {
|
| // to RFC 2046.
|
| void SetupMultipart(std::string* post_data,
|
| const std::vector<uint8>& compressed_log,
|
| + const std::vector<WebRtcRtpDumpDescription>& rtp_dumps,
|
| const std::map<std::string, std::string>& meta_data);
|
|
|
| - // Adds |compressed_log| to |post_data|.
|
| - void AddLogData(std::string* post_data,
|
| - const std::vector<uint8>& compressed_log);
|
| -
|
| void CompressLog(std::vector<uint8>* compressed_log,
|
| uint8* input,
|
| uint32 input_size);
|
|
|