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

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

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 12 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
« no previous file with comments | « components/metrics/metrics_log_unittest.cc ('k') | components/metrics/metrics_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef COMPONENTS_METRICS_METRICS_LOG_UPLOADER_H_ 5 #ifndef COMPONENTS_METRICS_METRICS_LOG_UPLOADER_H_
6 #define COMPONENTS_METRICS_METRICS_LOG_UPLOADER_H_ 6 #define COMPONENTS_METRICS_METRICS_LOG_UPLOADER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h"
11 #include "base/callback.h" 10 #include "base/callback.h"
12 #include "base/macros.h" 11 #include "base/macros.h"
13 12
14 namespace metrics { 13 namespace metrics {
15 14
16 // MetricsLogUploader is an abstract base class for uploading UMA logs on behalf 15 // MetricsLogUploader is an abstract base class for uploading UMA logs on behalf
17 // of MetricsService. 16 // of MetricsService.
18 class MetricsLogUploader { 17 class MetricsLogUploader {
19 public: 18 public:
20 // Constructs the uploader that will upload logs to the specified |server_url| 19 // Constructs the uploader that will upload logs to the specified |server_url|
(...skipping 15 matching lines...) Expand all
36 const std::string mime_type_; 35 const std::string mime_type_;
37 const base::Callback<void(int)> on_upload_complete_; 36 const base::Callback<void(int)> on_upload_complete_;
38 37
39 private: 38 private:
40 DISALLOW_COPY_AND_ASSIGN(MetricsLogUploader); 39 DISALLOW_COPY_AND_ASSIGN(MetricsLogUploader);
41 }; 40 };
42 41
43 } // namespace metrics 42 } // namespace metrics
44 43
45 #endif // COMPONENTS_METRICS_METRICS_LOG_UPLOADER_H_ 44 #endif // COMPONENTS_METRICS_METRICS_LOG_UPLOADER_H_
OLDNEW
« no previous file with comments | « components/metrics/metrics_log_unittest.cc ('k') | components/metrics/metrics_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698