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

Side by Side Diff: chrome/browser/policy/policy_stubs.cc

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
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 #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
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
OLDNEW
« no previous file with comments | « chrome/browser/policy/managed_prefs_banner_base.cc ('k') | chrome/browser/prefs/pref_change_registrar_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698