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

Side by Side Diff: chrome/browser/policy/device_management_backend.h

Issue 5388001: Tweaks to POST request to device management server (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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/device_management_backend_impl.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_DEVICE_MANAGEMENT_BACKEND_H_ 5 #ifndef CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_
6 #define CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_ 6 #define CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 21 matching lines...) Expand all
32 // Response could not be decoded. 32 // Response could not be decoded.
33 kErrorResponseDecoding, 33 kErrorResponseDecoding,
34 // Service error: Management not supported. 34 // Service error: Management not supported.
35 kErrorServiceManagementNotSupported, 35 kErrorServiceManagementNotSupported,
36 // Service error: Device not found. 36 // Service error: Device not found.
37 kErrorServiceDeviceNotFound, 37 kErrorServiceDeviceNotFound,
38 // Service error: Device token invalid. 38 // Service error: Device token invalid.
39 kErrorServiceManagementTokenInvalid, 39 kErrorServiceManagementTokenInvalid,
40 // Service error: Activation pending. 40 // Service error: Activation pending.
41 kErrorServiceActivationPending, 41 kErrorServiceActivationPending,
42 // Service error: Policy not found.
43 kErrorServicePolicyNotFound,
42 }; 44 };
43 45
44 class DeviceRegisterResponseDelegate { 46 class DeviceRegisterResponseDelegate {
45 public: 47 public:
46 virtual ~DeviceRegisterResponseDelegate() {} 48 virtual ~DeviceRegisterResponseDelegate() {}
47 virtual void HandleRegisterResponse( 49 virtual void HandleRegisterResponse(
48 const em::DeviceRegisterResponse& response) = 0; 50 const em::DeviceRegisterResponse& response) = 0;
49 virtual void OnError(ErrorCode code) = 0; 51 virtual void OnError(ErrorCode code) = 0;
50 52
51 protected: 53 protected:
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 protected: 109 protected:
108 DeviceManagementBackend() {} 110 DeviceManagementBackend() {}
109 111
110 private: 112 private:
111 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackend); 113 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackend);
112 }; 114 };
113 115
114 } // namespace policy 116 } // namespace policy
115 117
116 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_ 118 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/policy/device_management_backend_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698