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

Unified Diff: chrome/browser/tracing/background_tracing_field_trial.cc

Issue 1225923003: Make compression optional in TraceUploader. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comment for clarification. Created 5 years, 5 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 | « no previous file | chrome/browser/tracing/crash_service_uploader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tracing/background_tracing_field_trial.cc
diff --git a/chrome/browser/tracing/background_tracing_field_trial.cc b/chrome/browser/tracing/background_tracing_field_trial.cc
index b64c0cd61fa0464d75f1d9939b75b13140a21739..fbfa247220dec7845627c5c0647a23af6ad00bdb 100644
--- a/chrome/browser/tracing/background_tracing_field_trial.cc
+++ b/chrome/browser/tracing/background_tracing_field_trial.cc
@@ -46,8 +46,8 @@ void UploadCallback(const std::string& upload_url,
uploader->SetUploadURL(upload_url);
uploader->DoUpload(
- file_contents->data(), metadata.Pass(),
- content::TraceUploader::UploadProgressCallback(),
+ file_contents->data(), content::TraceUploader::UNCOMPRESSED_UPLOAD,
+ metadata.Pass(), content::TraceUploader::UploadProgressCallback(),
base::Bind(&OnUploadComplete, base::Owned(uploader), callback));
}
« no previous file with comments | « no previous file | chrome/browser/tracing/crash_service_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698