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

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

Issue 10443108: Implement the ConfigDirPolicyProvider based on the AsyncPolicyLoader (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments, added FilePathWatchers Created 8 years, 6 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) 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_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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 const content::NotificationSource& source, 143 const content::NotificationSource& source,
144 const content::NotificationDetails& details) OVERRIDE; 144 const content::NotificationDetails& details) OVERRIDE;
145 145
146 // Initializes the device cloud policy infrasturcture. 146 // Initializes the device cloud policy infrasturcture.
147 void InitializeDevicePolicy(); 147 void InitializeDevicePolicy();
148 148
149 // Complete initialization once the message loops are running and the 149 // Complete initialization once the message loops are running and the
150 // local_state is initialized. 150 // local_state is initialized.
151 void CompleteInitialization(); 151 void CompleteInitialization();
152 152
153 static ConfigurationPolicyProvider* CreateManagedPlatformProvider(); 153 static ConfigurationPolicyProvider* CreatePlatformProvider();
154 static ConfigurationPolicyProvider* CreateRecommendedPlatformProvider();
155 154
156 scoped_ptr<ConfigurationPolicyProvider> managed_platform_provider_; 155 scoped_ptr<ConfigurationPolicyProvider> platform_provider_;
157 scoped_ptr<ConfigurationPolicyProvider> recommended_platform_provider_;
158 156
159 scoped_ptr<CloudPolicyProvider> managed_cloud_provider_; 157 scoped_ptr<CloudPolicyProvider> managed_cloud_provider_;
160 scoped_ptr<CloudPolicyProvider> recommended_cloud_provider_; 158 scoped_ptr<CloudPolicyProvider> recommended_cloud_provider_;
161 159
162 #if defined(OS_CHROMEOS) 160 #if defined(OS_CHROMEOS)
163 scoped_ptr<CloudPolicyDataStore> device_data_store_; 161 scoped_ptr<CloudPolicyDataStore> device_data_store_;
164 scoped_ptr<CloudPolicySubsystem> device_cloud_policy_subsystem_; 162 scoped_ptr<CloudPolicySubsystem> device_cloud_policy_subsystem_;
165 scoped_ptr<EnterpriseInstallAttributes> install_attributes_; 163 scoped_ptr<EnterpriseInstallAttributes> install_attributes_;
166 #endif 164 #endif
167 165
(...skipping 18 matching lines...) Expand all
186 #if defined(OS_CHROMEOS) 184 #if defined(OS_CHROMEOS)
187 scoped_ptr<AppPackUpdater> app_pack_updater_; 185 scoped_ptr<AppPackUpdater> app_pack_updater_;
188 #endif 186 #endif
189 187
190 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnector); 188 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnector);
191 }; 189 };
192 190
193 } // namespace policy 191 } // namespace policy
194 192
195 #endif // CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_ 193 #endif // CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/policy/browser_policy_connector.cc » ('j') | chrome/browser/policy/config_dir_policy_loader.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698