ticl_device_settings_provider.h revision 116680a4aac90f2aa7413d9095a592090648e557
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 3// found in the LICENSE file. 4 5#ifndef CHROME_BROWSER_CHROMEOS_POLICY_TICL_DEVICE_SETTINGS_PROVIDER_H_ 6#define CHROME_BROWSER_CHROMEOS_POLICY_TICL_DEVICE_SETTINGS_PROVIDER_H_ 7 8#include "base/compiler_specific.h" 9#include "base/macros.h" 10#include "components/invalidation/ticl_settings_provider.h" 11 12namespace policy { 13 14// A specialization of TiclSettingsProvider to be used by a device-wide 15// TiclInvalidationService. 16class TiclDeviceSettingsProvider : public invalidation::TiclSettingsProvider { 17 public: 18 TiclDeviceSettingsProvider(); 19 virtual ~TiclDeviceSettingsProvider(); 20 21 // TiclInvalidationServiceSettingsProvider: 22 virtual bool UseGCMChannel() const OVERRIDE; 23 24 private: 25 DISALLOW_COPY_AND_ASSIGN(TiclDeviceSettingsProvider); 26}; 27 28} // namespace policy 29 30#endif // CHROME_BROWSER_CHROMEOS_POLICY_TICL_DEVICE_SETTINGS_PROVIDER_H_ 31