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

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

Issue 7096013: Allow device policy code to be optionally included. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make changes requested by torne. Created 9 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/policy/browser_policy_connector.h"
6 #include "chrome/browser/policy/configuration_policy_pref_store.h"
7 #include "chrome/browser/policy/cloud_policy_subsystem.h"
8 #include "chrome/browser/policy/profile_policy_connector.h"
9 #include "chrome/browser/policy/profile_policy_connector_factory.h"
10
11 // Policies are optionally built, hence the following stubs.
12
13 namespace policy {
14
15 // static
16 BrowserPolicyConnector* BrowserPolicyConnector::Create() {
17 return NULL;
18 }
19
20 // static
21 BrowserPolicyConnector* BrowserPolicyConnector::CreateForTests() {
22 return NULL;
23 }
24
25 BrowserPolicyConnector::~BrowserPolicyConnector() {
26 }
27
28 // static
29 const ConfigurationPolicyProvider::PolicyDefinitionList*
30 ConfigurationPolicyPrefStore::GetChromePolicyDefinitionList() {
31 return NULL;
32 }
33
34 // static
35 ConfigurationPolicyPrefStore* ConfigurationPolicyPrefStore::Create(
36 ConfigurationPolicyProvider* provider) {
37 return NULL;
38 }
39
40 // static
41 ConfigurationPolicyPrefStore*
42 ConfigurationPolicyPrefStore::CreateManagedPlatformPolicyPrefStore() {
43 return NULL;
44 }
45
46 // static
47 ConfigurationPolicyPrefStore*
48 ConfigurationPolicyPrefStore::CreateManagedCloudPolicyPrefStore(
49 Profile* profile) {
50 return NULL;
51 }
52
53 // static
54 ConfigurationPolicyPrefStore*
55 ConfigurationPolicyPrefStore::CreateRecommendedPlatformPolicyPrefStore() {
56 return NULL;
57 }
58
59 // static
60 ConfigurationPolicyPrefStore*
61 ConfigurationPolicyPrefStore::CreateRecommendedCloudPolicyPrefStore(
62 Profile* profile) {
63 return NULL;
64 }
65
66 // static
67 void CloudPolicySubsystem::RegisterPrefs(PrefService* local_state) {
68 // don't need prefs for things we don't use.
69 }
70
71 // static
72 void ProfilePolicyConnector::Initialize() {
73 }
74
75 // static
76 ProfilePolicyConnector*
77 ProfilePolicyConnectorFactory::GetForProfile(Profile* profile) {
78 return NULL;
79 }
80
81 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/configuration_policy_pref_store_unittest.cc ('k') | chrome/browser/prefs/pref_service_mock_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698