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

Unified Diff: components/metrics/metrics_log_uploader.h

Issue 318203004: Make MetricsService save compressed logs to local state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 6 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 | « components/metrics/metrics_log_manager_unittest.cc ('k') | components/metrics/metrics_pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/metrics_log_uploader.h
===================================================================
--- components/metrics/metrics_log_uploader.h (revision 276253)
+++ components/metrics/metrics_log_uploader.h (working copy)
@@ -25,9 +25,10 @@
const base::Callback<void(int)>& on_upload_complete);
virtual ~MetricsLogUploader();
- // Uploads a log with the specified |log_data| and |log_hash|. |log_hash| is
- // expected to be the hex-encoded SHA1 hash of |log_data|.
- virtual bool UploadLog(const std::string& log_data,
+ // Uploads a log with the specified |compressed_log_data| and |log_hash|.
+ // |log_hash| is expected to be the hex-encoded SHA1 hash of the log data
+ // before compression.
+ virtual bool UploadLog(const std::string& compressed_log_data,
const std::string& log_hash) = 0;
protected:
« no previous file with comments | « components/metrics/metrics_log_manager_unittest.cc ('k') | components/metrics/metrics_pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698