| 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" | 7 #include "base/callback.h" |
| 8 | 8 |
| 9 namespace metrics { | 9 namespace metrics { |
| 10 | 10 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 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 |
| OLD | NEW |