| Index: chrome/browser/policy/cloud/mock_cloud_policy_client.cc
|
| diff --git a/chrome/browser/policy/cloud/mock_cloud_policy_client.cc b/chrome/browser/policy/cloud/mock_cloud_policy_client.cc
|
| deleted file mode 100644
|
| index 12d86483c541b677b69bfb7507a4543e90ed229a..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/policy/cloud/mock_cloud_policy_client.cc
|
| +++ /dev/null
|
| @@ -1,42 +0,0 @@
|
| -// Copyright (c) 2012 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/policy/cloud/mock_cloud_policy_client.h"
|
| -#include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h"
|
| -#include "net/url_request/url_request_context_getter.h"
|
| -
|
| -namespace em = enterprise_management;
|
| -
|
| -namespace policy {
|
| -
|
| -MockCloudPolicyClient::MockCloudPolicyClient()
|
| - : CloudPolicyClient(std::string(),
|
| - std::string(),
|
| - USER_AFFILIATION_NONE,
|
| - NULL,
|
| - NULL,
|
| - NULL) {}
|
| -
|
| -MockCloudPolicyClient::~MockCloudPolicyClient() {}
|
| -
|
| -void MockCloudPolicyClient::SetDMToken(const std::string& token) {
|
| - dm_token_ = token;
|
| -}
|
| -
|
| -void MockCloudPolicyClient::SetPolicy(const PolicyNamespaceKey& policy_ns_key,
|
| - const em::PolicyFetchResponse& policy) {
|
| - em::PolicyFetchResponse*& response = responses_[policy_ns_key];
|
| - delete response;
|
| - response = new enterprise_management::PolicyFetchResponse(policy);
|
| -}
|
| -
|
| -void MockCloudPolicyClient::SetStatus(DeviceManagementStatus status) {
|
| - status_ = status;
|
| -}
|
| -
|
| -MockCloudPolicyClientObserver::MockCloudPolicyClientObserver() {}
|
| -
|
| -MockCloudPolicyClientObserver::~MockCloudPolicyClientObserver() {}
|
| -
|
| -} // namespace policy
|
|
|