OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CLOUD_CLOUD_POLICY_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CLIENT_H_ |
6 #define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CLIENT_H_ | 6 #define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
16 #include "base/time.h" | 16 #include "base/time/time.h" |
17 #include "chrome/browser/policy/cloud/cloud_policy_constants.h" | 17 #include "chrome/browser/policy/cloud/cloud_policy_constants.h" |
18 #include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h" | 18 #include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h" |
19 | 19 |
20 namespace policy { | 20 namespace policy { |
21 | 21 |
22 class DeviceManagementRequestJob; | 22 class DeviceManagementRequestJob; |
23 class DeviceManagementService; | 23 class DeviceManagementService; |
24 | 24 |
25 // Implements the core logic required to talk to the device management service. | 25 // Implements the core logic required to talk to the device management service. |
26 // Also keeps track of the current state of the association with the service, | 26 // Also keeps track of the current state of the association with the service, |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 | 258 |
259 ObserverList<Observer, true> observers_; | 259 ObserverList<Observer, true> observers_; |
260 | 260 |
261 private: | 261 private: |
262 DISALLOW_COPY_AND_ASSIGN(CloudPolicyClient); | 262 DISALLOW_COPY_AND_ASSIGN(CloudPolicyClient); |
263 }; | 263 }; |
264 | 264 |
265 } // namespace policy | 265 } // namespace policy |
266 | 266 |
267 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CLIENT_H_ | 267 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CLIENT_H_ |
OLD | NEW |