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
3 // found in the LICENSE file.
5 #include "components/metrics/metrics_log_uploader.h"
9 MetricsLogUploader::MetricsLogUploader(
10 const std::string
& server_url
,
11 const std::string
& mime_type
,
12 const base::Callback
<void(int)>& on_upload_complete
)
13 : server_url_(server_url
),
14 mime_type_(mime_type
),
15 on_upload_complete_(on_upload_complete
) {
18 MetricsLogUploader::~MetricsLogUploader() {
21 } // namespace metrics