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

Side by Side Diff: chrome/browser/policy/browser_policy_connector.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_BROWSER_POLICY_CONNECTOR_H_ 5 #ifndef CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_
6 #define CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_ 6 #define CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_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/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
14 #include "base/task.h" 13 #include "base/task.h"
15 #include "chrome/browser/policy/cloud_policy_data_store.h" 14 #include "chrome/browser/policy/cloud_policy_data_store.h"
16 #include "chrome/browser/policy/enterprise_install_attributes.h" 15 #include "chrome/browser/policy/enterprise_install_attributes.h"
17 #include "content/common/notification_observer.h" 16 #include "content/common/notification_observer.h"
18 #include "content/common/notification_registrar.h" 17 #include "content/common/notification_registrar.h"
19 18
20 class FilePath;
21 class TestingBrowserProcess; 19 class TestingBrowserProcess;
22 class TokenService; 20 class TokenService;
23 21
24 namespace policy { 22 namespace policy {
25 23
26 class CloudPolicyDataStore;
27 class CloudPolicyProvider; 24 class CloudPolicyProvider;
28 class CloudPolicySubsystem; 25 class CloudPolicySubsystem;
29 class ConfigurationPolicyProvider; 26 class ConfigurationPolicyProvider;
30 class UserPolicyTokenCache; 27 class UserPolicyTokenCache;
31 28
32 // Manages the lifecycle of browser-global policy infrastructure, such as the 29 // Manages the lifecycle of browser-global policy infrastructure, such as the
33 // platform policy providers, device- and the user-cloud policy infrastructure. 30 // platform policy providers, device- and the user-cloud policy infrastructure.
34 // TODO(gfeher,mnissler): Factor out device and user specific methods into their 31 // TODO(gfeher,mnissler): Factor out device and user specific methods into their
35 // respective classes. 32 // respective classes.
36 class BrowserPolicyConnector : public NotificationObserver { 33 class BrowserPolicyConnector : public NotificationObserver {
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 // Weak reference to the TokenService we are listening to for user cloud 167 // Weak reference to the TokenService we are listening to for user cloud
171 // policy authentication tokens. 168 // policy authentication tokens.
172 TokenService* token_service_; 169 TokenService* token_service_;
173 170
174 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnector); 171 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnector);
175 }; 172 };
176 173
177 } // namespace policy 174 } // namespace policy
178 175
179 #endif // CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_ 176 #endif // CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/asynchronous_policy_test_base.h ('k') | chrome/browser/policy/browser_policy_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698