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

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

Issue 5162006: Always send the device ID when making device management requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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.h » ('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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 virtual ~DeviceManagementBackend() {} 87 virtual ~DeviceManagementBackend() {}
88 88
89 virtual void ProcessRegisterRequest( 89 virtual void ProcessRegisterRequest(
90 const std::string& auth_token, 90 const std::string& auth_token,
91 const std::string& device_id, 91 const std::string& device_id,
92 const em::DeviceRegisterRequest& request, 92 const em::DeviceRegisterRequest& request,
93 DeviceRegisterResponseDelegate* delegate) = 0; 93 DeviceRegisterResponseDelegate* delegate) = 0;
94 94
95 virtual void ProcessUnregisterRequest( 95 virtual void ProcessUnregisterRequest(
96 const std::string& device_management_token, 96 const std::string& device_management_token,
97 const std::string& device_id,
97 const em::DeviceUnregisterRequest& request, 98 const em::DeviceUnregisterRequest& request,
98 DeviceUnregisterResponseDelegate* delegate) = 0; 99 DeviceUnregisterResponseDelegate* delegate) = 0;
99 100
100 virtual void ProcessPolicyRequest( 101 virtual void ProcessPolicyRequest(
101 const std::string& device_management_token, 102 const std::string& device_management_token,
103 const std::string& device_id,
102 const em::DevicePolicyRequest& request, 104 const em::DevicePolicyRequest& request,
103 DevicePolicyResponseDelegate* delegate) = 0; 105 DevicePolicyResponseDelegate* delegate) = 0;
104 106
105 protected: 107 protected:
106 DeviceManagementBackend() {} 108 DeviceManagementBackend() {}
107 109
108 private: 110 private:
109 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackend); 111 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackend);
110 }; 112 };
111 113
112 } // namespace policy 114 } // namespace policy
113 115
114 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_ 116 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/policy/device_management_backend_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698