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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
« no previous file with comments | « chrome/browser/plugin_updater.cc ('k') | chrome/browser/policy/browser_policy_connector.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 // Constructor for tests that allows tests to use fake platform and cloud 107 // Constructor for tests that allows tests to use fake platform and cloud
108 // policy providers instead of using the actual ones. 108 // policy providers instead of using the actual ones.
109 BrowserPolicyConnector( 109 BrowserPolicyConnector(
110 ConfigurationPolicyProvider* managed_platform_provider, 110 ConfigurationPolicyProvider* managed_platform_provider,
111 ConfigurationPolicyProvider* recommended_platform_provider, 111 ConfigurationPolicyProvider* recommended_platform_provider,
112 CloudPolicyProvider* managed_cloud_provider, 112 CloudPolicyProvider* managed_cloud_provider,
113 CloudPolicyProvider* recommended_cloud_provider); 113 CloudPolicyProvider* recommended_cloud_provider);
114 114
115 // NotificationObserver method overrides: 115 // NotificationObserver method overrides:
116 virtual void Observe(NotificationType type, 116 virtual void Observe(int type,
117 const NotificationSource& source, 117 const NotificationSource& source,
118 const NotificationDetails& details) OVERRIDE; 118 const NotificationDetails& details) OVERRIDE;
119 119
120 // Initializes the device cloud policy infrasturcture. 120 // Initializes the device cloud policy infrasturcture.
121 void InitializeDevicePolicy(); 121 void InitializeDevicePolicy();
122 122
123 // Activates the device cloud policy subsystem. This will be posted as a task 123 // Activates the device cloud policy subsystem. This will be posted as a task
124 // from InitializeDevicePolicy since it needs to wait for the message loops to 124 // from InitializeDevicePolicy since it needs to wait for the message loops to
125 // be running. 125 // be running.
126 void InitializeDevicePolicySubsystem(); 126 void InitializeDevicePolicySubsystem();
(...skipping 22 matching lines...) Expand all
149 // Weak reference to the TokenService we are listening to for user cloud 149 // Weak reference to the TokenService we are listening to for user cloud
150 // policy authentication tokens. 150 // policy authentication tokens.
151 TokenService* token_service_; 151 TokenService* token_service_;
152 152
153 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnector); 153 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnector);
154 }; 154 };
155 155
156 } // namespace policy 156 } // namespace policy
157 157
158 #endif // CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_ 158 #endif // CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/plugin_updater.cc ('k') | chrome/browser/policy/browser_policy_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698