Home
last modified time | relevance | path

Searched refs:DeviceManagementBackend (Results 1 – 18 of 18) sorted by relevance

/external/chromium/chrome/browser/policy/
Ddevice_management_backend_impl.cc169 virtual void OnError(DeviceManagementBackend::ErrorCode error) = 0;
200 OnError(DeviceManagementBackend::kErrorRequestFailed); in HandleResponse()
208 OnError(DeviceManagementBackend::kErrorResponseDecoding); in HandleResponse()
215 OnError(DeviceManagementBackend::kErrorRequestInvalid); in HandleResponse()
219 OnError(DeviceManagementBackend::kErrorServiceManagementTokenInvalid); in HandleResponse()
223 OnError(DeviceManagementBackend::kErrorServiceManagementNotSupported); in HandleResponse()
227 OnError(DeviceManagementBackend::kErrorServiceActivationPending); in HandleResponse()
233 OnError(DeviceManagementBackend::kErrorTemporaryUnavailable); in HandleResponse()
237 OnError(DeviceManagementBackend::kErrorServiceDeviceNotFound); in HandleResponse()
241 OnError(DeviceManagementBackend::kErrorServicePolicyNotFound); in HandleResponse()
[all …]
Ddevice_management_backend_mock.h16 : public DeviceManagementBackend::DeviceRegisterResponseDelegate {
22 MOCK_METHOD1(OnError, void(DeviceManagementBackend::ErrorCode error));
26 : public DeviceManagementBackend::DeviceUnregisterResponseDelegate {
33 MOCK_METHOD1(OnError, void(DeviceManagementBackend::ErrorCode error));
37 : public DeviceManagementBackend::DevicePolicyResponseDelegate {
43 MOCK_METHOD1(OnError, void(DeviceManagementBackend::ErrorCode error));
Dmock_device_management_service.h20 class ProxyDeviceManagementBackend : public DeviceManagementBackend {
22 explicit ProxyDeviceManagementBackend(DeviceManagementBackend* backend);
44 DeviceManagementBackend* backend_; // weak
53 void set_backend(DeviceManagementBackend* backend) { in set_backend()
57 virtual DeviceManagementBackend* CreateBackend();
60 DeviceManagementBackend* backend_; // weak
Dcloud_policy_controller.cc113 DeviceManagementBackend::kErrorServicePolicyNotFound) { in HandlePolicyResponse()
122 void CloudPolicyController::OnError(DeviceManagementBackend::ErrorCode code) { in OnError()
124 case DeviceManagementBackend::kErrorServiceDeviceNotFound: in OnError()
125 case DeviceManagementBackend::kErrorServiceManagementTokenInvalid: { in OnError()
132 case DeviceManagementBackend::kErrorServiceManagementNotSupported: { in OnError()
138 case DeviceManagementBackend::kErrorServicePolicyNotFound: in OnError()
139 case DeviceManagementBackend::kErrorRequestInvalid: in OnError()
140 case DeviceManagementBackend::kErrorServiceActivationPending: in OnError()
141 case DeviceManagementBackend::kErrorResponseDecoding: in OnError()
142 case DeviceManagementBackend::kErrorHttpStatus: { in OnError()
[all …]
Ddevice_management_backend.h23 class DeviceManagementBackend : base::NonThreadSafe {
91 virtual ~DeviceManagementBackend() {} in ~DeviceManagementBackend()
112 DeviceManagementBackend() {} in DeviceManagementBackend() function
115 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackend);
Dcloud_policy_controller.h27 class DeviceManagementBackend; variable
33 : public DeviceManagementBackend::DevicePolicyResponseDelegate,
58 virtual void OnError(DeviceManagementBackend::ErrorCode code);
137 scoped_ptr<DeviceManagementBackend> backend_;
Ddevice_management_service_unittest.cc74 scoped_ptr<DeviceManagementBackend> backend_;
82 FailedRequestParams(DeviceManagementBackend::ErrorCode expected_error, in FailedRequestParams()
91 DeviceManagementBackend::ErrorCode expected_error_;
161 DeviceManagementBackend::kErrorRequestFailed,
166 DeviceManagementBackend::kErrorHttpStatus,
171 DeviceManagementBackend::kErrorResponseDecoding,
176 DeviceManagementBackend::kErrorServiceManagementNotSupported,
181 DeviceManagementBackend::kErrorServiceDeviceNotFound,
186 DeviceManagementBackend::kErrorServiceManagementTokenInvalid,
191 DeviceManagementBackend::kErrorRequestInvalid,
[all …]
Ddevice_token_fetcher.cc136 void DeviceTokenFetcher::OnError(DeviceManagementBackend::ErrorCode code) { in OnError()
138 case DeviceManagementBackend::kErrorServiceManagementNotSupported: in OnError()
142 case DeviceManagementBackend::kErrorRequestFailed: in OnError()
143 case DeviceManagementBackend::kErrorTemporaryUnavailable: in OnError()
144 case DeviceManagementBackend::kErrorServiceDeviceNotFound: in OnError()
147 case DeviceManagementBackend::kErrorServiceManagementTokenInvalid: in OnError()
Ddevice_token_fetcher.h31 : public DeviceManagementBackend::DeviceRegisterResponseDelegate {
76 virtual void OnError(DeviceManagementBackend::ErrorCode code);
127 scoped_ptr<DeviceManagementBackend> backend_;
Dcloud_policy_controller_unittest.cc215 DeviceManagementBackend::kErrorRequestFailed)); in TEST_F()
229 DeviceManagementBackend::kErrorRequestFailed)).WillOnce( in TEST_F()
245 DeviceManagementBackend::kErrorServiceManagementTokenInvalid)); in TEST_F()
260 DeviceManagementBackend::kErrorServiceDeviceNotFound)); in TEST_F()
276 DeviceManagementBackend::kErrorServiceManagementNotSupported)); in TEST_F()
Dmock_device_management_service.cc10 DeviceManagementBackend* backend) in ProxyDeviceManagementBackend()
46 DeviceManagementBackend* MockDeviceManagementService::CreateBackend() { in CreateBackend()
Ddevice_token_fetcher_unittest.cc107 DeviceManagementBackend::kErrorRequestFailed)).WillOnce( in TEST_F()
125 DeviceManagementBackend::kErrorServiceManagementNotSupported)); in TEST_F()
Ddevice_management_service_browsertest.cc95 scoped_ptr<DeviceManagementBackend> backend(service.CreateBackend()); in IN_PROC_BROWSER_TEST_F()
148 scoped_ptr<DeviceManagementBackend> backend(service.CreateBackend()); in IN_PROC_BROWSER_TEST_F()
Ddevice_management_backend_impl.h22 class DeviceManagementBackendImpl : public DeviceManagementBackend {
Ddevice_management_service.h58 virtual DeviceManagementBackend* CreateBackend();
Duser_policy_identity_strategy.h22 class DeviceManagementBackend; variable
Dmock_device_management_backend.h28 class MockDeviceManagementBackend : public DeviceManagementBackend {
Ddevice_management_service.cc115 DeviceManagementBackend* DeviceManagementService::CreateBackend() { in CreateBackend()