Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
|
Joao da Silva
2012/01/02 16:14:43
2012
Mattias Nissler (ping if slow)
2012/01/02 17:53:23
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/policy/cloud_policy_constants.h" | |
| 6 | |
| 7 namespace policy { | |
| 8 | |
| 9 // Constants related to the device management protocol. | |
| 10 namespace dm_protocol { | |
| 11 | |
| 12 // Name constants for URL query parameters. | |
| 13 const char kParamAgent[] = "agent"; | |
| 14 const char kParamAppType[] = "apptype"; | |
| 15 const char kParamDeviceID[] = "deviceid"; | |
| 16 const char kParamDeviceType[] = "devicetype"; | |
| 17 const char kParamOAuthToken[] = "oauth_token"; | |
| 18 const char kParamPlatform[] = "platform"; | |
| 19 const char kParamRequest[] = "request"; | |
| 20 const char kParamUserAffiliation[] = "user_affiliation"; | |
| 21 | |
| 22 // String constants for the device and app type we report to the server. | |
| 23 const char kValueAppType[] = "Chrome"; | |
| 24 const char kValueDeviceType[] = "2"; | |
| 25 const char kValueRequestAutoEnrollment[] = "enterprise_check"; | |
| 26 const char kValueRequestPolicy[] = "policy"; | |
| 27 const char kValueRequestRegister[] = "register"; | |
| 28 const char kValueRequestUnregister[] = "unregister"; | |
| 29 const char kValueUserAffiliationManaged[] = "managed"; | |
| 30 const char kValueUserAffiliationNone[] = "none"; | |
| 31 | |
| 32 const char kChromeDevicePolicyType[] = "google/chromeos/device"; | |
| 33 const char kChromeUserPolicyType[] = "google/chromeos/user"; | |
| 34 | |
| 35 } // namespace dm_protocol | |
| 36 | |
| 37 } // namespace policy | |
| OLD | NEW |