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

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

Issue 23475018: Added cloud policy registration and fetch types for iOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/policy/cloud/cloud_policy_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise 98 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise
99 // device. 99 // device.
100 DEVICE_MODE_RETAIL_KIOSK, // The device is enrolled as retail kiosk device. 100 DEVICE_MODE_RETAIL_KIOSK, // The device is enrolled as retail kiosk device.
101 DEVICE_MODE_CONSUMER_KIOSK, // The device is locally owned as consumer kiosk. 101 DEVICE_MODE_CONSUMER_KIOSK, // The device is locally owned as consumer kiosk.
102 }; 102 };
103 103
104 // A pair that combines a policy fetch type and entity ID. 104 // A pair that combines a policy fetch type and entity ID.
105 typedef std::pair<std::string, std::string> PolicyNamespaceKey; 105 typedef std::pair<std::string, std::string> PolicyNamespaceKey;
106 106
107 // Returns the Chrome user policy type to use. This allows overridding the 107 // Returns the Chrome user policy type to use. This allows overridding the
108 // default user policy type on Android for testing purposes. 108 // default user policy type on Android and iOS for testing purposes.
109 // TODO(joaodasilva): remove this once the server is ready. 109 // TODO(joaodasilva): remove this once the server is ready.
110 // http://crbug.com/248527 110 // http://crbug.com/248527
111 const char* GetChromeUserPolicyType(); 111 const char* GetChromeUserPolicyType();
112 112
113 } // namespace policy 113 } // namespace policy
114 114
115 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ 115 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/policy/cloud/cloud_policy_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698