OLD | NEW |
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 COMPONENTS_RLZ_RLZ_TRACKER_H_ | 5 #ifndef COMPONENTS_RLZ_RLZ_TRACKER_H_ |
6 #define COMPONENTS_RLZ_RLZ_TRACKER_H_ | 6 #define COMPONENTS_RLZ_RLZ_TRACKER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/singleton.h" | 13 #include "base/memory/singleton.h" |
14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "base/threading/sequenced_worker_pool.h" | 15 #include "base/threading/sequenced_worker_pool.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 17 #include "build/build_config.h" |
17 #include "rlz/lib/rlz_lib.h" | 18 #include "rlz/lib/rlz_lib.h" |
18 | 19 |
19 namespace net { | 20 namespace net { |
20 class URLRequestContextGetter; | 21 class URLRequestContextGetter; |
21 } | 22 } |
22 | 23 |
23 namespace rlz { | 24 namespace rlz { |
24 | 25 |
25 class RLZTrackerDelegate; | 26 class RLZTrackerDelegate; |
26 | 27 |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 | 234 |
234 // Minimum delay before sending financial ping after initialization. | 235 // Minimum delay before sending financial ping after initialization. |
235 base::TimeDelta min_init_delay_; | 236 base::TimeDelta min_init_delay_; |
236 | 237 |
237 DISALLOW_COPY_AND_ASSIGN(RLZTracker); | 238 DISALLOW_COPY_AND_ASSIGN(RLZTracker); |
238 }; | 239 }; |
239 | 240 |
240 } // namespace rlz | 241 } // namespace rlz |
241 | 242 |
242 #endif // COMPONENTS_RLZ_RLZ_TRACKER_H_ | 243 #endif // COMPONENTS_RLZ_RLZ_TRACKER_H_ |
OLD | NEW |