Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Side by Side Diff: components/policy/core/common/cloud/mock_device_management_service.cc

Issue 109743002: Move policy code into components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar fixes Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/policy/cloud/mock_device_management_service.h" 5 #include "components/policy/core/common/cloud/mock_device_management_service.h"
6 6
7 #include "base/strings/string_util.h" 7 #include "base/strings/string_util.h"
8 #include "net/base/net_errors.h" 8 #include "net/base/net_errors.h"
9 #include "net/url_request/url_request_context_getter.h" 9 #include "net/url_request/url_request_context_getter.h"
10 10
11 using testing::Action; 11 using testing::Action;
12 12
13 namespace em = enterprise_management; 13 namespace em = enterprise_management;
14 14
15 namespace policy { 15 namespace policy {
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 const em::DeviceManagementResponse dummy_response; 161 const em::DeviceManagementResponse dummy_response;
162 return CreateSyncMockDeviceManagementJob(this, status, dummy_response); 162 return CreateSyncMockDeviceManagementJob(this, status, dummy_response);
163 } 163 }
164 164
165 Action<MockDeviceManagementService::CreateJobFunction> 165 Action<MockDeviceManagementService::CreateJobFunction>
166 MockDeviceManagementService::CreateAsyncJob(MockDeviceManagementJob** job) { 166 MockDeviceManagementService::CreateAsyncJob(MockDeviceManagementJob** job) {
167 return CreateAsyncMockDeviceManagementJob(this, job); 167 return CreateAsyncMockDeviceManagementJob(this, job);
168 } 168 }
169 169
170 } // namespace policy 170 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698