| 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 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |