| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHROMEOS_POLICY_TICL_DEVICE_SETTINGS_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_TICL_DEVICE_SETTINGS_PROVIDER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_POLICY_TICL_DEVICE_SETTINGS_PROVIDER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_POLICY_TICL_DEVICE_SETTINGS_PROVIDER_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "components/invalidation/ticl_settings_provider.h" | 10 #include "components/invalidation/ticl_settings_provider.h" |
| 11 | 11 |
| 12 namespace policy { | 12 namespace policy { |
| 13 | 13 |
| 14 // A specialization of TiclSettingsProvider to be used by a device-wide | 14 // A specialization of TiclSettingsProvider to be used by a device-wide |
| 15 // TiclInvalidationService. | 15 // TiclInvalidationService. |
| 16 class TiclDeviceSettingsProvider : public invalidation::TiclSettingsProvider { | 16 class TiclDeviceSettingsProvider : public invalidation::TiclSettingsProvider { |
| 17 public: | 17 public: |
| 18 TiclDeviceSettingsProvider(); | 18 TiclDeviceSettingsProvider(); |
| 19 virtual ~TiclDeviceSettingsProvider(); | 19 virtual ~TiclDeviceSettingsProvider(); |
| 20 | 20 |
| 21 // TiclInvalidationServiceSettingsProvider: | 21 // TiclInvalidationServiceSettingsProvider: |
| 22 virtual bool UseGCMChannel() const OVERRIDE; | 22 virtual bool UseGCMChannel() const override; |
| 23 | 23 |
| 24 private: | 24 private: |
| 25 DISALLOW_COPY_AND_ASSIGN(TiclDeviceSettingsProvider); | 25 DISALLOW_COPY_AND_ASSIGN(TiclDeviceSettingsProvider); |
| 26 }; | 26 }; |
| 27 | 27 |
| 28 } // namespace policy | 28 } // namespace policy |
| 29 | 29 |
| 30 #endif // CHROME_BROWSER_CHROMEOS_POLICY_TICL_DEVICE_SETTINGS_PROVIDER_H_ | 30 #endif // CHROME_BROWSER_CHROMEOS_POLICY_TICL_DEVICE_SETTINGS_PROVIDER_H_ |
| OLD | NEW |