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

Side by Side Diff: components/metrics/test_metrics_service_client.cc

Issue 299663011: Introduce MetricsServiceClient::StartGatheringMetrics (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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
« no previous file with comments | « components/metrics/test_metrics_service_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 27 matching lines...) Expand all
38 return SystemProfileProto::CHANNEL_BETA; 38 return SystemProfileProto::CHANNEL_BETA;
39 } 39 }
40 40
41 std::string TestMetricsServiceClient::GetVersionString() { 41 std::string TestMetricsServiceClient::GetVersionString() {
42 return "5.0.322.0-64-devel"; 42 return "5.0.322.0-64-devel";
43 } 43 }
44 44
45 void TestMetricsServiceClient::OnLogUploadComplete() { 45 void TestMetricsServiceClient::OnLogUploadComplete() {
46 } 46 }
47 47
48 void TestMetricsServiceClient::StartGatheringMetrics(
49 const base::Closure& done_callback) {
50 done_callback.Run();
51 }
52
48 void TestMetricsServiceClient::CollectFinalMetrics( 53 void TestMetricsServiceClient::CollectFinalMetrics(
49 const base::Closure& done_callback) { 54 const base::Closure& done_callback) {
50 done_callback.Run(); 55 done_callback.Run();
51 } 56 }
52 57
53 } // namespace metrics 58 } // namespace metrics
OLDNEW
« 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