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

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

Issue 2708293002: Switch UKM service to properly mark upload data as UKM and not UMA. (Closed)
Patch Set: Created 3 years, 9 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
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/metrics_log_uploader.h" 5 #include "components/metrics/metrics_log_uploader.h"
6 6
7 namespace metrics { 7 namespace metrics {
8 8
9 MetricsLogUploader::MetricsLogUploader( 9 MetricsLogUploader::MetricsLogUploader(
10 const std::string& server_url, 10 const std::string& server_url,
11 const std::string& mime_type, 11 const std::string& mime_type,
12 MetricServiceType service_type,
12 const base::Callback<void(int)>& on_upload_complete) 13 const base::Callback<void(int)>& on_upload_complete)
13 : server_url_(server_url), 14 : server_url_(server_url),
14 mime_type_(mime_type), 15 mime_type_(mime_type),
15 on_upload_complete_(on_upload_complete) { 16 service_type_(service_type),
16 } 17 on_upload_complete_(on_upload_complete) {}
17 18
18 MetricsLogUploader::~MetricsLogUploader() { 19 MetricsLogUploader::~MetricsLogUploader() {
19 } 20 }
20 21
21 } // namespace metrics 22 } // namespace metrics
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698