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

Side by Side 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: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/metrics/test_metrics_service_client.h" 5 #include "components/metrics/test_metrics_service_client.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 8
9 namespace metrics { 9 namespace metrics {
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 void TestMetricsServiceClient::StartGatheringMetrics( 48 void TestMetricsServiceClient::StartGatheringMetrics(
49 const base::Closure& done_callback) { 49 const base::Closure& done_callback) {
50 done_callback.Run(); 50 done_callback.Run();
51 } 51 }
52 52
53 void TestMetricsServiceClient::CollectFinalMetrics( 53 void TestMetricsServiceClient::CollectFinalMetrics(
54 const base::Closure& done_callback) { 54 const base::Closure& done_callback) {
55 done_callback.Run(); 55 done_callback.Run();
56 } 56 }
57 57
58 scoped_ptr<MetricsLogUploader> TestMetricsServiceClient::CreateUploader(
59 const std::string& server_url,
60 const std::string& mime_type,
61 const base::Callback<void(int)> on_upload_complete) {
62 return scoped_ptr<MetricsLogUploader>();
63 }
64
58 } // namespace metrics 65 } // namespace metrics
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698