OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CHROME_VARIATIONS_SERVICE_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_METRICS_VARIATIONS_CHROME_VARIATIONS_SERVICE_CLIENT_H_ |
6 #define CHROME_BROWSER_METRICS_VARIATIONS_CHROME_VARIATIONS_SERVICE_CLIENT_H_ | 6 #define CHROME_BROWSER_METRICS_VARIATIONS_CHROME_VARIATIONS_SERVICE_CLIENT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "components/variations/variations_service_client.h" | 9 #include "components/variations/service/variations_service_client.h" |
10 | 10 |
11 #if defined(OS_WIN) | 11 #if defined(OS_WIN) |
12 #include "chrome/browser/metrics/variations/variations_registry_syncer_win.h" | 12 #include "chrome/browser/metrics/variations/variations_registry_syncer_win.h" |
13 #endif | 13 #endif |
14 | 14 |
15 // ChromeVariationsServiceClient provides an implementation of | 15 // ChromeVariationsServiceClient provides an implementation of |
16 // VariationsServiceClient that depends on chrome/. | 16 // VariationsServiceClient that depends on chrome/. |
17 class ChromeVariationsServiceClient | 17 class ChromeVariationsServiceClient |
18 : public chrome_variations::VariationsServiceClient { | 18 : public chrome_variations::VariationsServiceClient { |
19 public: | 19 public: |
(...skipping 15 matching lines...) Expand all Loading... |
35 void StartGoogleUpdateRegistrySync(); | 35 void StartGoogleUpdateRegistrySync(); |
36 | 36 |
37 // Helper that handles synchronizing Variations with the Registry. | 37 // Helper that handles synchronizing Variations with the Registry. |
38 chrome_variations::VariationsRegistrySyncer registry_syncer_; | 38 chrome_variations::VariationsRegistrySyncer registry_syncer_; |
39 #endif | 39 #endif |
40 | 40 |
41 DISALLOW_COPY_AND_ASSIGN(ChromeVariationsServiceClient); | 41 DISALLOW_COPY_AND_ASSIGN(ChromeVariationsServiceClient); |
42 }; | 42 }; |
43 | 43 |
44 #endif // CHROME_BROWSER_METRICS_VARIATIONS_CHROME_VARIATIONS_SERVICE_CLIENT_H_ | 44 #endif // CHROME_BROWSER_METRICS_VARIATIONS_CHROME_VARIATIONS_SERVICE_CLIENT_H_ |
OLD | NEW |