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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
OLD | NEW |