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

Side by Side Diff: chrome/browser/policy/device_management_backend_impl.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_IMPL_H_ 5 #ifndef CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_IMPL_H_
6 #define CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_IMPL_H_ 6 #define CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 virtual void ProcessUnregisterRequest( 69 virtual void ProcessUnregisterRequest(
70 const std::string& device_management_token, 70 const std::string& device_management_token,
71 const std::string& device_id, 71 const std::string& device_id,
72 const em::DeviceUnregisterRequest& request, 72 const em::DeviceUnregisterRequest& request,
73 DeviceUnregisterResponseDelegate* response_delegate) OVERRIDE; 73 DeviceUnregisterResponseDelegate* response_delegate) OVERRIDE;
74 virtual void ProcessPolicyRequest( 74 virtual void ProcessPolicyRequest(
75 const std::string& device_management_token, 75 const std::string& device_management_token,
76 const std::string& device_id, 76 const std::string& device_id,
77 CloudPolicyDataStore::UserAffiliation affiliation, 77 CloudPolicyDataStore::UserAffiliation affiliation,
78 const em::DevicePolicyRequest& request, 78 const em::DevicePolicyRequest& request,
79 const em::DeviceStatusReportRequest* device_status,
79 DevicePolicyResponseDelegate* response_delegate) OVERRIDE; 80 DevicePolicyResponseDelegate* response_delegate) OVERRIDE;
80 virtual void ProcessAutoEnrollmentRequest( 81 virtual void ProcessAutoEnrollmentRequest(
81 const std::string& device_id, 82 const std::string& device_id,
82 const em::DeviceAutoEnrollmentRequest& request, 83 const em::DeviceAutoEnrollmentRequest& request,
83 DeviceAutoEnrollmentResponseDelegate* delegate) OVERRIDE; 84 DeviceAutoEnrollmentResponseDelegate* delegate) OVERRIDE;
84 85
85 // Converts a user affiliation to the appropriate query parameter value. 86 // Converts a user affiliation to the appropriate query parameter value.
86 static const char* UserAffiliationToString( 87 static const char* UserAffiliationToString(
87 CloudPolicyDataStore::UserAffiliation affiliation); 88 CloudPolicyDataStore::UserAffiliation affiliation);
88 89
89 // Keeps track of the jobs currently in flight. 90 // Keeps track of the jobs currently in flight.
90 JobSet pending_jobs_; 91 JobSet pending_jobs_;
91 92
92 DeviceManagementService* service_; 93 DeviceManagementService* service_;
93 94
94 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackendImpl); 95 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackendImpl);
95 }; 96 };
96 97
97 } // namespace policy 98 } // namespace policy
98 99
99 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_IMPL_H_ 100 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/device_management_backend.h ('k') | chrome/browser/policy/device_management_backend_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698