| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |