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

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

Issue 866163002: Allow use of metrics url override outside of Chromecast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
OLDNEW
(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
OLDNEW
« no previous file with comments | « components/metrics/mock_metrics_service_client.h ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698