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

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

Issue 2261763002: Device enterprise registration with a certificate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initialize pointers to nullptr. Created 4 years, 3 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 TYPE_POLICY_FETCH, 48 TYPE_POLICY_FETCH,
49 TYPE_UNREGISTRATION, 49 TYPE_UNREGISTRATION,
50 TYPE_UPLOAD_CERTIFICATE, 50 TYPE_UPLOAD_CERTIFICATE,
51 TYPE_DEVICE_STATE_RETRIEVAL, 51 TYPE_DEVICE_STATE_RETRIEVAL,
52 TYPE_UPLOAD_STATUS, 52 TYPE_UPLOAD_STATUS,
53 TYPE_REMOTE_COMMANDS, 53 TYPE_REMOTE_COMMANDS,
54 TYPE_ATTRIBUTE_UPDATE_PERMISSION, 54 TYPE_ATTRIBUTE_UPDATE_PERMISSION,
55 TYPE_ATTRIBUTE_UPDATE, 55 TYPE_ATTRIBUTE_UPDATE,
56 TYPE_GCM_ID_UPDATE, 56 TYPE_GCM_ID_UPDATE,
57 TYPE_ANDROID_MANAGEMENT_CHECK, 57 TYPE_ANDROID_MANAGEMENT_CHECK,
58 TYPE_CERT_BASED_REGISTRATION,
58 }; 59 };
59 60
60 typedef base::Callback< 61 typedef base::Callback<
61 void(DeviceManagementStatus, int, 62 void(DeviceManagementStatus, int,
62 const enterprise_management::DeviceManagementResponse&)> Callback; 63 const enterprise_management::DeviceManagementResponse&)> Callback;
63 64
64 typedef base::Callback<void(DeviceManagementRequestJob*)> RetryCallback; 65 typedef base::Callback<void(DeviceManagementRequestJob*)> RetryCallback;
65 66
66 virtual ~DeviceManagementRequestJob(); 67 virtual ~DeviceManagementRequestJob();
67 68
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 207
207 // Used to create tasks which run delayed on the UI thread. 208 // Used to create tasks which run delayed on the UI thread.
208 base::WeakPtrFactory<DeviceManagementService> weak_ptr_factory_; 209 base::WeakPtrFactory<DeviceManagementService> weak_ptr_factory_;
209 210
210 DISALLOW_COPY_AND_ASSIGN(DeviceManagementService); 211 DISALLOW_COPY_AND_ASSIGN(DeviceManagementService);
211 }; 212 };
212 213
213 } // namespace policy 214 } // namespace policy
214 215
215 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_DEVICE_MANAGEMENT_SERVICE_H_ 216 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_DEVICE_MANAGEMENT_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698