Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1665)

Unified Diff: chrome/browser/media/webrtc_log_uploader.h

Issue 264793017: Implements RTP header dumping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix leak Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/media/rtp_dump_type.h ('k') | chrome/browser/media/webrtc_log_uploader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..86c2d3a7cb35361aced98742759c84ff6f44ebaf 100644
--- a/chrome/browser/media/webrtc_log_uploader.h
+++ b/chrome/browser/media/webrtc_log_uploader.h
@@ -34,6 +34,8 @@ struct WebRtcLogUploadDoneData {
~WebRtcLogUploadDoneData();
base::FilePath log_path;
+ base::FilePath incoming_rtp_dump;
+ base::FilePath outgoing_rtp_dump;
WebRtcLoggingHandlerHost::UploadDoneCallback callback;
scoped_refptr<WebRtcLoggingHandlerHost> host;
std::string local_log_id;
@@ -99,12 +101,10 @@ class WebRtcLogUploader : public net::URLFetcherDelegate {
// to RFC 2046.
void SetupMultipart(std::string* post_data,
const std::vector<uint8>& compressed_log,
+ const base::FilePath& incoming_rtp_dump,
+ const base::FilePath& outgoing_rtp_dump,
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);
« no previous file with comments | « chrome/browser/media/rtp_dump_type.h ('k') | chrome/browser/media/webrtc_log_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698