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

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

Issue 8702009: Add device status reports to policy requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove some now-dead code. Created 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 const std::string& device_management_token, 127 const std::string& device_management_token,
128 const std::string& device_id, 128 const std::string& device_id,
129 const em::DeviceUnregisterRequest& request, 129 const em::DeviceUnregisterRequest& request,
130 DeviceUnregisterResponseDelegate* delegate) = 0; 130 DeviceUnregisterResponseDelegate* delegate) = 0;
131 131
132 virtual void ProcessPolicyRequest( 132 virtual void ProcessPolicyRequest(
133 const std::string& device_management_token, 133 const std::string& device_management_token,
134 const std::string& device_id, 134 const std::string& device_id,
135 CloudPolicyDataStore::UserAffiliation user_affiliation, 135 CloudPolicyDataStore::UserAffiliation user_affiliation,
136 const em::DevicePolicyRequest& request, 136 const em::DevicePolicyRequest& request,
137 const em::DeviceStatusReportRequest* device_status,
137 DevicePolicyResponseDelegate* delegate) = 0; 138 DevicePolicyResponseDelegate* delegate) = 0;
138 139
139 virtual void ProcessAutoEnrollmentRequest( 140 virtual void ProcessAutoEnrollmentRequest(
140 const std::string& device_id, 141 const std::string& device_id,
141 const em::DeviceAutoEnrollmentRequest& request, 142 const em::DeviceAutoEnrollmentRequest& request,
142 DeviceAutoEnrollmentResponseDelegate* delegate) = 0; 143 DeviceAutoEnrollmentResponseDelegate* delegate) = 0;
143 144
144 protected: 145 protected:
145 DeviceManagementBackend() {} 146 DeviceManagementBackend() {}
146 147
147 private: 148 private:
148 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackend); 149 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackend);
149 }; 150 };
150 151
151 } // namespace policy 152 } // namespace policy
152 153
153 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_ 154 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/cloud_policy_data_store.cc ('k') | chrome/browser/policy/device_management_backend_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698