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

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

Issue 293023005: Move MetricsService final log collection tasks to client. (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
« 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"
8
7 namespace metrics { 9 namespace metrics {
8 10
9 // static 11 // static
10 const char TestMetricsServiceClient::kBrandForTesting[] = "brand_for_testing"; 12 const char TestMetricsServiceClient::kBrandForTesting[] = "brand_for_testing";
11 13
12 TestMetricsServiceClient::TestMetricsServiceClient() { 14 TestMetricsServiceClient::TestMetricsServiceClient() {
13 } 15 }
14 16
15 TestMetricsServiceClient::~TestMetricsServiceClient() { 17 TestMetricsServiceClient::~TestMetricsServiceClient() {
16 } 18 }
(...skipping 19 matching lines...) Expand all
36 return SystemProfileProto::CHANNEL_BETA; 38 return SystemProfileProto::CHANNEL_BETA;
37 } 39 }
38 40
39 std::string TestMetricsServiceClient::GetVersionString() { 41 std::string TestMetricsServiceClient::GetVersionString() {
40 return "5.0.322.0-64-devel"; 42 return "5.0.322.0-64-devel";
41 } 43 }
42 44
43 void TestMetricsServiceClient::OnLogUploadComplete() { 45 void TestMetricsServiceClient::OnLogUploadComplete() {
44 } 46 }
45 47
48 void TestMetricsServiceClient::CollectFinalMetrics(
49 const base::Closure& done_callback) {
50 done_callback.Run();
51 }
52
46 } // namespace metrics 53 } // 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