blob: b36ad37dca4b7a0f0be1c6fea3f4dfb8e1df7f31 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/policy/ticl_device_settings_provider.h"
#include "base/command_line.h"
#include "components/invalidation/impl/invalidation_switches.h"
namespace policy {
TiclDeviceSettingsProvider::TiclDeviceSettingsProvider() {
}
TiclDeviceSettingsProvider::~TiclDeviceSettingsProvider() {
}
bool TiclDeviceSettingsProvider::UseGCMChannel() const {
return base::CommandLine::ForCurrentProcess()->HasSwitch(
invalidation::switches::kInvalidationUseGCMChannel);
}
} // namespace policy