OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "components/metrics/mock_metrics_service_client.h" |
| 6 |
| 7 #include <string> |
| 8 |
| 9 #include "base/callback.h" |
| 10 |
| 11 namespace metrics { |
| 12 |
| 13 MockMetricsServiceClient::MockMetricsServiceClient() { |
| 14 } |
| 15 |
| 16 MockMetricsServiceClient::~MockMetricsServiceClient() { |
| 17 } |
| 18 |
| 19 scoped_ptr<MetricsLogUploader> MockMetricsServiceClient::CreateUploader( |
| 20 const std::string& server_url, |
| 21 const std::string& mime_type, |
| 22 const base::Callback<void(int)>& on_upload_complete) { |
| 23 return scoped_ptr<MetricsLogUploader>( |
| 24 MockCreateUploader(server_url, mime_type, on_upload_complete)); |
| 25 } |
| 26 |
| 27 void MockMetricsServiceClient::DoNothing(int x) { |
| 28 } |
| 29 |
| 30 } // namespace metrics |
OLD | NEW |