summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/policy/ticl_device_settings_provider.cc
blob: 41f12c71601261c7bea0192854dd7cedd5c5a4ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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 "chrome/common/chrome_switches.h"

namespace policy {

TiclDeviceSettingsProvider::TiclDeviceSettingsProvider() {
}

TiclDeviceSettingsProvider::~TiclDeviceSettingsProvider() {
}

bool TiclDeviceSettingsProvider::UseGCMChannel() const {
  return CommandLine::ForCurrentProcess()->HasSwitch(
      switches::kInvalidationUseGCMChannel);
}

}  // namespace policy