// 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/fake_device_cloud_policy_manager.h" #include "base/callback.h" #include "chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.h" namespace policy { FakeDeviceCloudPolicyManager::FakeDeviceCloudPolicyManager( scoped_ptr store, const scoped_refptr& task_runner) : DeviceCloudPolicyManagerChromeOS(store.Pass(), task_runner, NULL), unregister_result_(true) { } FakeDeviceCloudPolicyManager::~FakeDeviceCloudPolicyManager() { Shutdown(); } void FakeDeviceCloudPolicyManager::Unregister( const UnregisterCallback& callback) { callback.Run(unregister_result_); } void FakeDeviceCloudPolicyManager::Disconnect() { } } // namespace policy