| OLD | NEW |
| 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 #include "chrome/browser/policy/browser_policy_connector.h" | 5 #include "chrome/browser/policy/browser_policy_connector.h" |
| 6 #include "chrome/browser/policy/configuration_policy_pref_store.h" | 6 #include "chrome/browser/policy/configuration_policy_pref_store.h" |
| 7 #include "chrome/browser/policy/cloud_policy_provider.h" | 7 #include "chrome/browser/policy/cloud_policy_provider.h" |
| 8 #include "chrome/browser/policy/cloud_policy_subsystem.h" | 8 #include "chrome/browser/policy/cloud_policy_subsystem.h" |
| 9 #include "chrome/browser/policy/user_policy_identity_strategy.h" | 9 #include "chrome/browser/policy/user_policy_identity_strategy.h" |
| 10 | 10 |
| 11 // Policies are optionally built, hence the following stubs. | 11 // Policies are optionally built, hence the following stubs. |
| 12 | 12 |
| 13 namespace policy { | 13 namespace policy { |
| 14 | 14 |
| 15 // static | 15 // static |
| 16 BrowserPolicyConnector* BrowserPolicyConnector::Create() { | 16 BrowserPolicyConnector* BrowserPolicyConnector::Create() { |
| 17 return NULL; | 17 return NULL; |
| 18 } | 18 } |
| 19 | 19 |
| 20 // static | 20 // static |
| 21 BrowserPolicyConnector* BrowserPolicyConnector::CreateForTests() { | 21 BrowserPolicyConnector* BrowserPolicyConnector::CreateForTests() { |
| 22 return NULL; | 22 return NULL; |
| 23 } | 23 } |
| 24 | 24 |
| 25 BrowserPolicyConnector::~BrowserPolicyConnector() { | 25 BrowserPolicyConnector::~BrowserPolicyConnector() { |
| 26 } | 26 } |
| 27 | 27 |
| 28 void BrowserPolicyConnector::Observe(NotificationType type, | 28 void BrowserPolicyConnector::Observe(int type, |
| 29 const NotificationSource& source, | 29 const NotificationSource& source, |
| 30 const NotificationDetails& details) { | 30 const NotificationDetails& details) { |
| 31 } | 31 } |
| 32 | 32 |
| 33 // static | 33 // static |
| 34 const ConfigurationPolicyProvider::PolicyDefinitionList* | 34 const ConfigurationPolicyProvider::PolicyDefinitionList* |
| 35 ConfigurationPolicyPrefStore::GetChromePolicyDefinitionList() { | 35 ConfigurationPolicyPrefStore::GetChromePolicyDefinitionList() { |
| 36 return NULL; | 36 return NULL; |
| 37 } | 37 } |
| 38 | 38 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 65 ConfigurationPolicyPrefStore::CreateRecommendedCloudPolicyPrefStore() { | 65 ConfigurationPolicyPrefStore::CreateRecommendedCloudPolicyPrefStore() { |
| 66 return NULL; | 66 return NULL; |
| 67 } | 67 } |
| 68 | 68 |
| 69 // static | 69 // static |
| 70 void CloudPolicySubsystem::RegisterPrefs(PrefService* local_state) { | 70 void CloudPolicySubsystem::RegisterPrefs(PrefService* local_state) { |
| 71 // don't need prefs for things we don't use. | 71 // don't need prefs for things we don't use. |
| 72 } | 72 } |
| 73 | 73 |
| 74 } // namespace policy | 74 } // namespace policy |
| OLD | NEW |