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

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

Issue 7785032: Revert 98987 - Pass user_affiliation request parameter on user cloud policy requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 months 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
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/threading/non_thread_safe.h" 12 #include "base/threading/non_thread_safe.h"
13 #include "chrome/browser/policy/cloud_policy_data_store.h"
14 #include "chrome/browser/policy/proto/device_management_backend.pb.h" 13 #include "chrome/browser/policy/proto/device_management_backend.pb.h"
15 14
16 namespace policy { 15 namespace policy {
17 16
18 namespace em = enterprise_management; 17 namespace em = enterprise_management;
19 18
20 // Interface for clients that need to converse with the device management 19 // Interface for clients that need to converse with the device management
21 // server, which provides services to register Chrome installations and CrOS 20 // server, which provides services to register Chrome installations and CrOS
22 // devices for the purpose of fetching centrally-administered policy from the 21 // devices for the purpose of fetching centrally-administered policy from the
23 // cloud. 22 // cloud.
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 99
101 virtual void ProcessUnregisterRequest( 100 virtual void ProcessUnregisterRequest(
102 const std::string& device_management_token, 101 const std::string& device_management_token,
103 const std::string& device_id, 102 const std::string& device_id,
104 const em::DeviceUnregisterRequest& request, 103 const em::DeviceUnregisterRequest& request,
105 DeviceUnregisterResponseDelegate* delegate) = 0; 104 DeviceUnregisterResponseDelegate* delegate) = 0;
106 105
107 virtual void ProcessPolicyRequest( 106 virtual void ProcessPolicyRequest(
108 const std::string& device_management_token, 107 const std::string& device_management_token,
109 const std::string& device_id, 108 const std::string& device_id,
110 CloudPolicyDataStore::UserAffiliation user_affiliation,
111 const em::DevicePolicyRequest& request, 109 const em::DevicePolicyRequest& request,
112 DevicePolicyResponseDelegate* delegate) = 0; 110 DevicePolicyResponseDelegate* delegate) = 0;
113 111
114 protected: 112 protected:
115 DeviceManagementBackend() {} 113 DeviceManagementBackend() {}
116 114
117 private: 115 private:
118 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackend); 116 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackend);
119 }; 117 };
120 118
121 } // namespace policy 119 } // namespace policy
122 120
123 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_ 121 #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