| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
| 11 #include "build/build_config.h" |
| 11 #include "components/variations/service/variations_service_client.h" | 12 #include "components/variations/service/variations_service_client.h" |
| 12 | 13 |
| 13 #if defined(OS_WIN) | 14 #if defined(OS_WIN) |
| 14 #include "chrome/browser/metrics/variations/variations_registry_syncer_win.h" | 15 #include "chrome/browser/metrics/variations/variations_registry_syncer_win.h" |
| 15 #endif | 16 #endif |
| 16 | 17 |
| 17 // ChromeVariationsServiceClient provides an implementation of | 18 // ChromeVariationsServiceClient provides an implementation of |
| 18 // VariationsServiceClient that depends on chrome/. | 19 // VariationsServiceClient that depends on chrome/. |
| 19 class ChromeVariationsServiceClient | 20 class ChromeVariationsServiceClient |
| 20 : public variations::VariationsServiceClient { | 21 : public variations::VariationsServiceClient { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 39 void StartGoogleUpdateRegistrySync(); | 40 void StartGoogleUpdateRegistrySync(); |
| 40 | 41 |
| 41 // Helper that handles synchronizing Variations with the Registry. | 42 // Helper that handles synchronizing Variations with the Registry. |
| 42 chrome_variations::VariationsRegistrySyncer registry_syncer_; | 43 chrome_variations::VariationsRegistrySyncer registry_syncer_; |
| 43 #endif | 44 #endif |
| 44 | 45 |
| 45 DISALLOW_COPY_AND_ASSIGN(ChromeVariationsServiceClient); | 46 DISALLOW_COPY_AND_ASSIGN(ChromeVariationsServiceClient); |
| 46 }; | 47 }; |
| 47 | 48 |
| 48 #endif // CHROME_BROWSER_METRICS_VARIATIONS_CHROME_VARIATIONS_SERVICE_CLIENT_H_ | 49 #endif // CHROME_BROWSER_METRICS_VARIATIONS_CHROME_VARIATIONS_SERVICE_CLIENT_H_ |
| OLD | NEW |