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

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

Issue 7941008: Cosmetic cleanups in chrome/browser/policy/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Upload was broken? 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_CLOUD_POLICY_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_POLICY_CONTROLLER_H_
6 #define CHROME_BROWSER_POLICY_CLOUD_POLICY_CONTROLLER_H_ 6 #define CHROME_BROWSER_POLICY_CLOUD_POLICY_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string>
10
11 #include "base/basictypes.h" 9 #include "base/basictypes.h"
12 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
13 #include "chrome/browser/policy/cloud_policy_data_store.h" 11 #include "chrome/browser/policy/cloud_policy_data_store.h"
14 #include "chrome/browser/policy/configuration_policy_provider.h" 12 #include "chrome/browser/policy/device_management_backend.h"
15 #include "chrome/browser/policy/delayed_work_scheduler.h"
16 #include "chrome/browser/policy/device_token_fetcher.h"
17 13
18 namespace policy { 14 namespace policy {
19 15
20 class CloudPolicyCacheBase; 16 class CloudPolicyCacheBase;
21 class DeviceManagementBackend; 17 class DelayedWorkScheduler;
18 class DeviceManagementService;
19 class DeviceTokenFetcher;
20 class PolicyNotifier;
22 21
23 // Coordinates the actions of DeviceTokenFetcher, CloudPolicyDataStore, 22 // Coordinates the actions of DeviceTokenFetcher, CloudPolicyDataStore,
24 // DeviceManagementBackend, and CloudPolicyCache: calls their methods and 23 // DeviceManagementBackend, and CloudPolicyCache: calls their methods and
25 // listens to their callbacks/notifications. 24 // listens to their callbacks/notifications.
26 class CloudPolicyController 25 class CloudPolicyController
27 : public DeviceManagementBackend::DevicePolicyResponseDelegate, 26 : public DeviceManagementBackend::DevicePolicyResponseDelegate,
28 public CloudPolicyDataStore::Observer { 27 public CloudPolicyDataStore::Observer {
29 public: 28 public:
30 // All parameters are weak pointers. 29 // All parameters are weak pointers.
31 CloudPolicyController(DeviceManagementService* service, 30 CloudPolicyController(DeviceManagementService* service,
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 int64 effective_policy_refresh_error_delay_ms_; 121 int64 effective_policy_refresh_error_delay_ms_;
123 122
124 scoped_ptr<DelayedWorkScheduler> scheduler_; 123 scoped_ptr<DelayedWorkScheduler> scheduler_;
125 124
126 DISALLOW_COPY_AND_ASSIGN(CloudPolicyController); 125 DISALLOW_COPY_AND_ASSIGN(CloudPolicyController);
127 }; 126 };
128 127
129 } // namespace policy 128 } // namespace policy
130 129
131 #endif // CHROME_BROWSER_POLICY_CLOUD_POLICY_CONTROLLER_H_ 130 #endif // CHROME_BROWSER_POLICY_CLOUD_POLICY_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/cloud_policy_cache_base.cc ('k') | chrome/browser/policy/cloud_policy_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698