OLD | NEW |
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/mock_device_management_service.h" | 5 #include "chrome/browser/policy/cloud/mock_device_management_service.h" |
6 | 6 |
7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
8 | 8 |
9 using testing::Action; | 9 using testing::Action; |
10 | 10 |
11 namespace em = enterprise_management; | 11 namespace em = enterprise_management; |
12 | 12 |
13 namespace policy { | 13 namespace policy { |
14 namespace { | 14 namespace { |
15 | 15 |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 const em::DeviceManagementResponse dummy_response; | 131 const em::DeviceManagementResponse dummy_response; |
132 return CreateSyncMockDeviceManagementJob(this, status, dummy_response); | 132 return CreateSyncMockDeviceManagementJob(this, status, dummy_response); |
133 } | 133 } |
134 | 134 |
135 Action<MockDeviceManagementService::CreateJobFunction> | 135 Action<MockDeviceManagementService::CreateJobFunction> |
136 MockDeviceManagementService::CreateAsyncJob(MockDeviceManagementJob** job) { | 136 MockDeviceManagementService::CreateAsyncJob(MockDeviceManagementJob** job) { |
137 return CreateAsyncMockDeviceManagementJob(this, job); | 137 return CreateAsyncMockDeviceManagementJob(this, job); |
138 } | 138 } |
139 | 139 |
140 } // namespace policy | 140 } // namespace policy |
OLD | NEW |