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_VARIATIONS_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_METRICS_VARIATIONS_VARIATIONS_SERVICE_H_ |
6 #define CHROME_BROWSER_METRICS_VARIATIONS_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/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/metrics/field_trial.h" | 14 #include "base/metrics/field_trial.h" |
15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
17 #include "chrome/browser/metrics/variations/variations_request_scheduler.h" | 17 #include "chrome/browser/metrics/variations/variations_request_scheduler.h" |
18 #include "chrome/browser/metrics/variations/variations_seed_store.h" | 18 #include "chrome/browser/metrics/variations/variations_seed_store.h" |
19 #include "chrome/common/chrome_version_info.h" | |
20 #include "components/variations/variations_seed_simulator.h" | 19 #include "components/variations/variations_seed_simulator.h" |
21 #include "components/web_resource/resource_request_allowed_notifier.h" | 20 #include "components/web_resource/resource_request_allowed_notifier.h" |
22 #include "net/url_request/url_fetcher_delegate.h" | 21 #include "net/url_request/url_fetcher_delegate.h" |
23 #include "url/gurl.h" | 22 #include "url/gurl.h" |
24 | 23 |
25 #if defined(OS_WIN) | 24 #if defined(OS_WIN) |
26 #include "chrome/browser/metrics/variations/variations_registry_syncer_win.h" | 25 #include "chrome/browser/metrics/variations/variations_registry_syncer_win.h" |
27 #endif | 26 #endif |
28 | 27 |
29 class PrefService; | 28 class PrefService; |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 #endif | 278 #endif |
280 | 279 |
281 base::WeakPtrFactory<VariationsService> weak_ptr_factory_; | 280 base::WeakPtrFactory<VariationsService> weak_ptr_factory_; |
282 | 281 |
283 DISALLOW_COPY_AND_ASSIGN(VariationsService); | 282 DISALLOW_COPY_AND_ASSIGN(VariationsService); |
284 }; | 283 }; |
285 | 284 |
286 } // namespace chrome_variations | 285 } // namespace chrome_variations |
287 | 286 |
288 #endif // CHROME_BROWSER_METRICS_VARIATIONS_VARIATIONS_SERVICE_H_ | 287 #endif // CHROME_BROWSER_METRICS_VARIATIONS_VARIATIONS_SERVICE_H_ |
OLD | NEW |