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

Side by Side Diff: components/policy/core/common/cloud/device_management_service.h

Issue 2655873002: Get enrollment token from DMServer when an Active Directory user uses ARC (Closed)
Patch Set: Fix Luis's comments Created 3 years, 10 months 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
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 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_DEVICE_MANAGEMENT_SERVICE_H_ 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_DEVICE_MANAGEMENT_SERVICE_H_
6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_DEVICE_MANAGEMENT_SERVICE_H_ 6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_DEVICE_MANAGEMENT_SERVICE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <deque> 10 #include <deque>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 TYPE_UNREGISTRATION = 4, 50 TYPE_UNREGISTRATION = 4,
51 TYPE_UPLOAD_CERTIFICATE = 5, 51 TYPE_UPLOAD_CERTIFICATE = 5,
52 TYPE_DEVICE_STATE_RETRIEVAL = 6, 52 TYPE_DEVICE_STATE_RETRIEVAL = 6,
53 TYPE_UPLOAD_STATUS = 7, 53 TYPE_UPLOAD_STATUS = 7,
54 TYPE_REMOTE_COMMANDS = 8, 54 TYPE_REMOTE_COMMANDS = 8,
55 TYPE_ATTRIBUTE_UPDATE_PERMISSION = 9, 55 TYPE_ATTRIBUTE_UPDATE_PERMISSION = 9,
56 TYPE_ATTRIBUTE_UPDATE = 10, 56 TYPE_ATTRIBUTE_UPDATE = 10,
57 TYPE_GCM_ID_UPDATE = 11, 57 TYPE_GCM_ID_UPDATE = 11,
58 TYPE_ANDROID_MANAGEMENT_CHECK = 12, 58 TYPE_ANDROID_MANAGEMENT_CHECK = 12,
59 TYPE_CERT_BASED_REGISTRATION = 13, 59 TYPE_CERT_BASED_REGISTRATION = 13,
60 TYPE_ACTIVE_DIRECTORY_ENROLL_PLAY_USER = 14,
61 TYPE_ACTIVE_DIRECTORY_PLAY_ACTIVITY = 15,
60 }; 62 };
61 63
62 typedef base::Callback< 64 typedef base::Callback<
63 void(DeviceManagementStatus, int, 65 void(DeviceManagementStatus, int,
64 const enterprise_management::DeviceManagementResponse&)> Callback; 66 const enterprise_management::DeviceManagementResponse&)> Callback;
65 67
66 typedef base::Callback<void(DeviceManagementRequestJob*)> RetryCallback; 68 typedef base::Callback<void(DeviceManagementRequestJob*)> RetryCallback;
67 69
68 virtual ~DeviceManagementRequestJob(); 70 virtual ~DeviceManagementRequestJob();
69 71
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 217
216 // Used to create tasks which run delayed on the UI thread. 218 // Used to create tasks which run delayed on the UI thread.
217 base::WeakPtrFactory<DeviceManagementService> weak_ptr_factory_; 219 base::WeakPtrFactory<DeviceManagementService> weak_ptr_factory_;
218 220
219 DISALLOW_COPY_AND_ASSIGN(DeviceManagementService); 221 DISALLOW_COPY_AND_ASSIGN(DeviceManagementService);
220 }; 222 };
221 223
222 } // namespace policy 224 } // namespace policy
223 225
224 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_DEVICE_MANAGEMENT_SERVICE_H_ 226 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_DEVICE_MANAGEMENT_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698