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

Unified Diff: components/metrics/test_metrics_service_client.cc

Issue 291153013: Make MetricsService upload logs through an interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Casts for win64 compile 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 | « components/metrics/test_metrics_service_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/test_metrics_service_client.cc
===================================================================
--- components/metrics/test_metrics_service_client.cc (revision 274045)
+++ components/metrics/test_metrics_service_client.cc (working copy)
@@ -5,6 +5,7 @@
#include "components/metrics/test_metrics_service_client.h"
#include "base/callback.h"
+#include "components/metrics/metrics_log_uploader.h"
namespace metrics {
@@ -55,4 +56,11 @@
done_callback.Run();
}
+scoped_ptr<MetricsLogUploader> TestMetricsServiceClient::CreateUploader(
+ const std::string& server_url,
+ const std::string& mime_type,
+ const base::Callback<void(int)>& on_upload_complete) {
+ return scoped_ptr<MetricsLogUploader>();
+}
+
} // namespace metrics
« no previous file with comments | « components/metrics/test_metrics_service_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698