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

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

Issue 294693002: Moved metrics_reporting_scheduler* to //components/metrics. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Hopefully synced this time. Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « components/metrics.gypi ('k') | components/metrics/metrics_reporting_scheduler.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_METRICS_METRICS_REPORTING_SCHEDULER_H_ 5 #ifndef COMPONENTS_METRICS_METRICS_REPORTING_SCHEDULER_H_
6 #define CHROME_BROWSER_METRICS_METRICS_REPORTING_SCHEDULER_H_ 6 #define COMPONENTS_METRICS_METRICS_REPORTING_SCHEDULER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.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 13
14 // Scheduler task to drive a MetricsService object's uploading. 14 // Scheduler task to drive a MetricsService object's uploading.
15 class MetricsReportingScheduler { 15 class MetricsReportingScheduler {
16 public: 16 public:
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // Whether the InitTaskComplete() callback has been called. 68 // Whether the InitTaskComplete() callback has been called.
69 bool init_task_complete_; 69 bool init_task_complete_;
70 70
71 // Whether the initial scheduled upload timer has fired before the init task 71 // Whether the initial scheduled upload timer has fired before the init task
72 // has been completed. 72 // has been completed.
73 bool waiting_for_init_task_complete_; 73 bool waiting_for_init_task_complete_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(MetricsReportingScheduler); 75 DISALLOW_COPY_AND_ASSIGN(MetricsReportingScheduler);
76 }; 76 };
77 77
78 #endif // CHROME_BROWSER_METRICS_METRICS_REPORTING_SCHEDULER_H_ 78 #endif // COMPONENTS_METRICS_METRICS_REPORTING_SCHEDULER_H_
OLDNEW
« no previous file with comments | « components/metrics.gypi ('k') | components/metrics/metrics_reporting_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698