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

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

Issue 2440473004: Add policy domain for signin screen apps (Closed)
Patch Set: Fix compilation Created 4 years, 2 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_CLOUD_POLICY_CONSTANTS_H_ 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_
6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ 6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "components/policy/policy_export.h" 10 #include "components/policy/policy_export.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 POLICY_EXPORT extern const char kValueRequestDeviceAttributeUpdate[]; 45 POLICY_EXPORT extern const char kValueRequestDeviceAttributeUpdate[];
46 POLICY_EXPORT extern const char kValueRequestGcmIdUpdate[]; 46 POLICY_EXPORT extern const char kValueRequestGcmIdUpdate[];
47 POLICY_EXPORT extern const char kValueRequestCheckAndroidManagement[]; 47 POLICY_EXPORT extern const char kValueRequestCheckAndroidManagement[];
48 POLICY_EXPORT extern const char kValueRequestCertBasedRegister[]; 48 POLICY_EXPORT extern const char kValueRequestCertBasedRegister[];
49 49
50 // Policy type strings for the policy_type field in PolicyFetchRequest. 50 // Policy type strings for the policy_type field in PolicyFetchRequest.
51 POLICY_EXPORT extern const char kChromeDevicePolicyType[]; 51 POLICY_EXPORT extern const char kChromeDevicePolicyType[];
52 POLICY_EXPORT extern const char kChromeUserPolicyType[]; 52 POLICY_EXPORT extern const char kChromeUserPolicyType[];
53 POLICY_EXPORT extern const char kChromePublicAccountPolicyType[]; 53 POLICY_EXPORT extern const char kChromePublicAccountPolicyType[];
54 POLICY_EXPORT extern const char kChromeExtensionPolicyType[]; 54 POLICY_EXPORT extern const char kChromeExtensionPolicyType[];
55 POLICY_EXPORT extern const char kChromeSigninExtensionPolicyType[];
55 56
56 // These codes are sent in the |error_code| field of PolicyFetchResponse. 57 // These codes are sent in the |error_code| field of PolicyFetchResponse.
57 enum PolicyFetchStatus { 58 enum PolicyFetchStatus {
58 POLICY_FETCH_SUCCESS = 200, 59 POLICY_FETCH_SUCCESS = 200,
59 POLICY_FETCH_ERROR_NOT_FOUND = 902, 60 POLICY_FETCH_ERROR_NOT_FOUND = 902,
60 }; 61 };
61 62
62 } // namespace dm_protocol 63 } // namespace dm_protocol
63 64
64 // The header used to transmit the policy ID for this client. 65 // The header used to transmit the policy ID for this client.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // appropriate action (currently, launching 129 // appropriate action (currently, launching
129 // offline demo mode). 130 // offline demo mode).
130 DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH, // The device is locally owned as 131 DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH, // The device is locally owned as
131 // consumer kiosk with ability to auto 132 // consumer kiosk with ability to auto
132 // launch a kiosk webapp. 133 // launch a kiosk webapp.
133 }; 134 };
134 135
135 } // namespace policy 136 } // namespace policy
136 137
137 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ 138 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698