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

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

Issue 1892093002: Add AndroidManagementClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comments. Created 4 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 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 24 matching lines...) Expand all
35 POLICY_EXPORT extern const char kValueRequestRegister[]; 35 POLICY_EXPORT extern const char kValueRequestRegister[];
36 POLICY_EXPORT extern const char kValueRequestApiAuthorization[]; 36 POLICY_EXPORT extern const char kValueRequestApiAuthorization[];
37 POLICY_EXPORT extern const char kValueRequestUnregister[]; 37 POLICY_EXPORT extern const char kValueRequestUnregister[];
38 POLICY_EXPORT extern const char kValueRequestUploadCertificate[]; 38 POLICY_EXPORT extern const char kValueRequestUploadCertificate[];
39 POLICY_EXPORT extern const char kValueRequestDeviceStateRetrieval[]; 39 POLICY_EXPORT extern const char kValueRequestDeviceStateRetrieval[];
40 POLICY_EXPORT extern const char kValueRequestUploadStatus[]; 40 POLICY_EXPORT extern const char kValueRequestUploadStatus[];
41 POLICY_EXPORT extern const char kValueRequestRemoteCommands[]; 41 POLICY_EXPORT extern const char kValueRequestRemoteCommands[];
42 POLICY_EXPORT extern const char kValueRequestDeviceAttributeUpdatePermission[]; 42 POLICY_EXPORT extern const char kValueRequestDeviceAttributeUpdatePermission[];
43 POLICY_EXPORT extern const char kValueRequestDeviceAttributeUpdate[]; 43 POLICY_EXPORT extern const char kValueRequestDeviceAttributeUpdate[];
44 POLICY_EXPORT extern const char kValueRequestGcmIdUpdate[]; 44 POLICY_EXPORT extern const char kValueRequestGcmIdUpdate[];
45 POLICY_EXPORT extern const char kValueRequestCheckAndroidManagement[];
45 46
46 // Policy type strings for the policy_type field in PolicyFetchRequest. 47 // Policy type strings for the policy_type field in PolicyFetchRequest.
47 POLICY_EXPORT extern const char kChromeDevicePolicyType[]; 48 POLICY_EXPORT extern const char kChromeDevicePolicyType[];
48 POLICY_EXPORT extern const char kChromeUserPolicyType[]; 49 POLICY_EXPORT extern const char kChromeUserPolicyType[];
49 POLICY_EXPORT extern const char kChromePublicAccountPolicyType[]; 50 POLICY_EXPORT extern const char kChromePublicAccountPolicyType[];
50 POLICY_EXPORT extern const char kChromeExtensionPolicyType[]; 51 POLICY_EXPORT extern const char kChromeExtensionPolicyType[];
51 52
52 // These codes are sent in the |error_code| field of PolicyFetchResponse. 53 // These codes are sent in the |error_code| field of PolicyFetchResponse.
53 enum PolicyFetchStatus { 54 enum PolicyFetchStatus {
54 POLICY_FETCH_SUCCESS = 200, 55 POLICY_FETCH_SUCCESS = 200,
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 143
143 // Returns the management mode of |policy_data|. You should use this function 144 // Returns the management mode of |policy_data|. You should use this function
144 // instead of using |management_mode| in |policy_data| to handle legacy 145 // instead of using |management_mode| in |policy_data| to handle legacy
145 // |policy_data| that doesn't have |management_mode| set. 146 // |policy_data| that doesn't have |management_mode| set.
146 POLICY_EXPORT ManagementMode GetManagementMode( 147 POLICY_EXPORT ManagementMode GetManagementMode(
147 const enterprise_management::PolicyData& policy_data); 148 const enterprise_management::PolicyData& policy_data);
148 149
149 } // namespace policy 150 } // namespace policy
150 151
151 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ 152 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/policy/core/common/cloud/cloud_policy_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698