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 COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_H_ | 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_H_ |
6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_H_ | 6 #define COMPONENTS_POLICY_CORE_COMMON_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> |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 scoped_ptr<DeviceManagementRequestJob> policy_fetch_request_job_; | 367 scoped_ptr<DeviceManagementRequestJob> policy_fetch_request_job_; |
368 | 368 |
369 // All of the outstanding non-policy-fetch request jobs. These jobs are | 369 // All of the outstanding non-policy-fetch request jobs. These jobs are |
370 // silently cancelled if Unregister() is called. | 370 // silently cancelled if Unregister() is called. |
371 ScopedVector<DeviceManagementRequestJob> request_jobs_; | 371 ScopedVector<DeviceManagementRequestJob> request_jobs_; |
372 | 372 |
373 // The policy responses returned by the last policy fetch operation. | 373 // The policy responses returned by the last policy fetch operation. |
374 ResponseMap responses_; | 374 ResponseMap responses_; |
375 DeviceManagementStatus status_; | 375 DeviceManagementStatus status_; |
376 | 376 |
377 ObserverList<Observer, true> observers_; | 377 base::ObserverList<Observer, true> observers_; |
378 scoped_refptr<net::URLRequestContextGetter> request_context_; | 378 scoped_refptr<net::URLRequestContextGetter> request_context_; |
379 | 379 |
380 private: | 380 private: |
381 DISALLOW_COPY_AND_ASSIGN(CloudPolicyClient); | 381 DISALLOW_COPY_AND_ASSIGN(CloudPolicyClient); |
382 }; | 382 }; |
383 | 383 |
384 } // namespace policy | 384 } // namespace policy |
385 | 385 |
386 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_H_ | 386 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_H_ |
OLD | NEW |