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

Side by Side Diff: components/metrics/metrics_reporting_scheduler.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
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_REPORTING_SCHEDULER_H_ 5 #ifndef COMPONENTS_METRICS_METRICS_REPORTING_SCHEDULER_H_
6 #define COMPONENTS_METRICS_METRICS_REPORTING_SCHEDULER_H_ 6 #define COMPONENTS_METRICS_METRICS_REPORTING_SCHEDULER_H_
7 7
8 #include "base/basictypes.h"
9 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "base/timer/timer.h" 12 #include "base/timer/timer.h"
13 #include "components/metrics/net/network_metrics_provider.h" 13 #include "components/metrics/net/network_metrics_provider.h"
14 14
15 namespace metrics { 15 namespace metrics {
16 16
17 // Scheduler task to drive a MetricsService object's uploading. 17 // Scheduler task to drive a MetricsService object's uploading.
18 class MetricsReportingScheduler { 18 class MetricsReportingScheduler {
19 public: 19 public:
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 // Callback function used to get the standard upload time. 91 // Callback function used to get the standard upload time.
92 base::Callback<base::TimeDelta(void)> upload_interval_callback_; 92 base::Callback<base::TimeDelta(void)> upload_interval_callback_;
93 93
94 DISALLOW_COPY_AND_ASSIGN(MetricsReportingScheduler); 94 DISALLOW_COPY_AND_ASSIGN(MetricsReportingScheduler);
95 }; 95 };
96 96
97 } // namespace metrics 97 } // namespace metrics
98 98
99 #endif // COMPONENTS_METRICS_METRICS_REPORTING_SCHEDULER_H_ 99 #endif // COMPONENTS_METRICS_METRICS_REPORTING_SCHEDULER_H_
OLDNEW
« no previous file with comments | « components/metrics/metrics_provider.h ('k') | components/metrics/metrics_reporting_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698