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

Unified Diff: components/metrics/test_metrics_service_client.h

Issue 291153013: Make MetricsService upload logs through an interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
Index: components/metrics/test_metrics_service_client.h
===================================================================
--- components/metrics/test_metrics_service_client.h (revision 273864)
+++ components/metrics/test_metrics_service_client.h (working copy)
@@ -32,6 +32,10 @@
const base::Closure& done_callback) OVERRIDE;
virtual void CollectFinalMetrics(const base::Closure& done_callback)
OVERRIDE;
+ virtual scoped_ptr<MetricsLogUploader> CreateUploader(
+ const std::string& server_url,
+ const std::string& mime_type,
+ const base::Callback<void(int)>& on_upload_complete) OVERRIDE;
const std::string& get_client_id() const { return client_id_; }

Powered by Google App Engine
This is Rietveld 408576698