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 CHROME_BROWSER_METRICS_VARIATIONS_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_METRICS_VARIATIONS_VARIATIONS_SERVICE_H_ |
6 #define CHROME_BROWSER_METRICS_VARIATIONS_SERVICE_H_ | 6 #define CHROME_BROWSER_METRICS_VARIATIONS_VARIATIONS_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/metrics/field_trial.h" | 13 #include "base/metrics/field_trial.h" |
14 #include "base/time.h" | 14 #include "base/time.h" |
15 #include "base/timer.h" | 15 #include "base/timer.h" |
16 #include "chrome/browser/metrics/proto/study.pb.h" | 16 #include "chrome/browser/metrics/proto/study.pb.h" |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 bool create_trials_from_seed_called_; | 136 bool create_trials_from_seed_called_; |
137 | 137 |
138 // The timer used to repeatedly ping the server. Keep this as an instance | 138 // The timer used to repeatedly ping the server. Keep this as an instance |
139 // member so if VariationsService goes out of scope, the timer is | 139 // member so if VariationsService goes out of scope, the timer is |
140 // automatically canceled. | 140 // automatically canceled. |
141 base::RepeatingTimer<VariationsService> timer_; | 141 base::RepeatingTimer<VariationsService> timer_; |
142 }; | 142 }; |
143 | 143 |
144 } // namespace chrome_variations | 144 } // namespace chrome_variations |
145 | 145 |
146 #endif // CHROME_BROWSER_METRICS_VARIATIONS_SERVICE_H_ | 146 #endif // CHROME_BROWSER_METRICS_VARIATIONS_VARIATIONS_SERVICE_H_ |
OLD | NEW |