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

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: Addressed Mattias' comments and added unit test. 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 const std::string& device_management_token, 112 const std::string& device_management_token,
113 const std::string& device_id, 113 const std::string& device_id,
114 const em::DeviceUnregisterRequest& request, 114 const em::DeviceUnregisterRequest& request,
115 DeviceUnregisterResponseDelegate* delegate) = 0; 115 DeviceUnregisterResponseDelegate* delegate) = 0;
116 116
117 virtual void ProcessPolicyRequest( 117 virtual void ProcessPolicyRequest(
118 const std::string& device_management_token, 118 const std::string& device_management_token,
119 const std::string& device_id, 119 const std::string& device_id,
120 CloudPolicyDataStore::UserAffiliation user_affiliation, 120 CloudPolicyDataStore::UserAffiliation user_affiliation,
121 const em::DevicePolicyRequest& request, 121 const em::DevicePolicyRequest& request,
122 const em::DeviceStatusReportRequest& device_status,
122 DevicePolicyResponseDelegate* delegate) = 0; 123 DevicePolicyResponseDelegate* delegate) = 0;
123 124
124 protected: 125 protected:
125 DeviceManagementBackend() {} 126 DeviceManagementBackend() {}
126 127
127 private: 128 private:
128 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackend); 129 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackend);
129 }; 130 };
130 131
131 } // namespace policy 132 } // namespace policy
132 133
133 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_ 134 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698