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

Side by Side Diff: components/variations/variations_request_scheduler.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_VARIATIONS_VARIATIONS_REQUEST_SCHEDULER_H_ 5 #ifndef COMPONENTS_VARIATIONS_VARIATIONS_REQUEST_SCHEDULER_H_
6 #define COMPONENTS_VARIATIONS_VARIATIONS_REQUEST_SCHEDULER_H_ 6 #define COMPONENTS_VARIATIONS_VARIATIONS_REQUEST_SCHEDULER_H_
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/macros.h"
10 #include "base/time/time.h" 11 #include "base/time/time.h"
11 #include "base/timer/timer.h" 12 #include "base/timer/timer.h"
12 13
13 class PrefService; 14 class PrefService;
14 15
15 namespace variations { 16 namespace variations {
16 17
17 // A helper class that makes VariationsService requests at the correct times. 18 // A helper class that makes VariationsService requests at the correct times.
18 class VariationsRequestScheduler { 19 class VariationsRequestScheduler {
19 public: 20 public:
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 62
62 // A one-shot timer used for scheduling out-of-band fetches. 63 // A one-shot timer used for scheduling out-of-band fetches.
63 base::OneShotTimer one_shot_timer_; 64 base::OneShotTimer one_shot_timer_;
64 65
65 DISALLOW_COPY_AND_ASSIGN(VariationsRequestScheduler); 66 DISALLOW_COPY_AND_ASSIGN(VariationsRequestScheduler);
66 }; 67 };
67 68
68 } // namespace variations 69 } // namespace variations
69 70
70 #endif // COMPONENTS_VARIATIONS_VARIATIONS_REQUEST_SCHEDULER_H_ 71 #endif // COMPONENTS_VARIATIONS_VARIATIONS_REQUEST_SCHEDULER_H_
OLDNEW
« no previous file with comments | « components/variations/variations_http_header_provider.cc ('k') | components/variations/variations_request_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698