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

Side by Side Diff: chrome/browser/policy/cloud/cloud_policy_constants.h

Issue 12538009: Public Sessions: fetch device robot api token during enterprise enrollment. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 7 years, 7 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 CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_
6 #define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ 6 #define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 11 matching lines...) Expand all
22 extern const char kParamPlatform[]; 22 extern const char kParamPlatform[];
23 extern const char kParamRequest[]; 23 extern const char kParamRequest[];
24 extern const char kParamUserAffiliation[]; 24 extern const char kParamUserAffiliation[];
25 25
26 // String extern constants for the device and app type we report to the server. 26 // String extern constants for the device and app type we report to the server.
27 extern const char kValueAppType[]; 27 extern const char kValueAppType[];
28 extern const char kValueDeviceType[]; 28 extern const char kValueDeviceType[];
29 extern const char kValueRequestAutoEnrollment[]; 29 extern const char kValueRequestAutoEnrollment[];
30 extern const char kValueRequestPolicy[]; 30 extern const char kValueRequestPolicy[];
31 extern const char kValueRequestRegister[]; 31 extern const char kValueRequestRegister[];
32 extern const char kValueRequestApiAuthorization[];
32 extern const char kValueRequestUnregister[]; 33 extern const char kValueRequestUnregister[];
33 extern const char kValueRequestUploadCertificate[]; 34 extern const char kValueRequestUploadCertificate[];
34 extern const char kValueUserAffiliationManaged[]; 35 extern const char kValueUserAffiliationManaged[];
35 extern const char kValueUserAffiliationNone[]; 36 extern const char kValueUserAffiliationNone[];
36 37
37 // Policy type strings for the policy_type field in PolicyFetchRequest. 38 // Policy type strings for the policy_type field in PolicyFetchRequest.
38 extern const char kChromeDevicePolicyType[]; 39 extern const char kChromeDevicePolicyType[];
39 extern const char kChromeUserPolicyType[]; 40 extern const char kChromeUserPolicyType[];
40 extern const char kChromePublicAccountPolicyType[]; 41 extern const char kChromePublicAccountPolicyType[];
41 extern const char kChromeExtensionPolicyType[]; 42 extern const char kChromeExtensionPolicyType[];
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise device. 97 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise device.
97 DEVICE_MODE_KIOSK, // The device is enrolled as kiosk/retail device. 98 DEVICE_MODE_KIOSK, // The device is enrolled as kiosk/retail device.
98 }; 99 };
99 100
100 // A pair that combines a policy fetch type and entity ID. 101 // A pair that combines a policy fetch type and entity ID.
101 typedef std::pair<std::string, std::string> PolicyNamespaceKey; 102 typedef std::pair<std::string, std::string> PolicyNamespaceKey;
102 103
103 } // namespace policy 104 } // namespace policy
104 105
105 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ 106 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/cloud/cloud_policy_client.cc ('k') | chrome/browser/policy/cloud/cloud_policy_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698