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

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

Issue 6027004: Revert 69753 - Added group policy for disabling all client-side 3D APIs in Ch... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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
Property Changes:
Deleted: svn:eol-style
- LF
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_CONFIGURATION_POLICY_STORE_INTERFACE_H_ 5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_STORE_INTERFACE_H_
6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_STORE_INTERFACE_H_ 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_STORE_INTERFACE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 kPolicyDefaultNotificationSetting, 59 kPolicyDefaultNotificationSetting,
60 kPolicyDefaultGeolocationSetting, 60 kPolicyDefaultGeolocationSetting,
61 kPolicyExtensionInstallForceList, 61 kPolicyExtensionInstallForceList,
62 kPolicyChromeOsLockOnIdleSuspend, 62 kPolicyChromeOsLockOnIdleSuspend,
63 kPolicyAuthSchemes, 63 kPolicyAuthSchemes,
64 kPolicyDisableAuthNegotiateCnameLookup, 64 kPolicyDisableAuthNegotiateCnameLookup,
65 kPolicyEnableAuthNegotiatePort, 65 kPolicyEnableAuthNegotiatePort,
66 kPolicyAuthServerWhitelist, 66 kPolicyAuthServerWhitelist,
67 kPolicyAuthNegotiateDelegateWhitelist, 67 kPolicyAuthNegotiateDelegateWhitelist,
68 kPolicyGSSAPILibraryName, 68 kPolicyGSSAPILibraryName,
69 kPolicyDisable3DAPIs
70 }; 69 };
71 70
72 static const int kPolicyNoProxyServerMode = 0; 71 static const int kPolicyNoProxyServerMode = 0;
73 static const int kPolicyAutoDetectProxyMode = 1; 72 static const int kPolicyAutoDetectProxyMode = 1;
74 static const int kPolicyManuallyConfiguredProxyMode = 2; 73 static const int kPolicyManuallyConfiguredProxyMode = 2;
75 static const int kPolicyUseSystemProxyMode = 3; 74 static const int kPolicyUseSystemProxyMode = 3;
76 75
77 // An abstract super class for policy stores that provides a method that can be 76 // An abstract super class for policy stores that provides a method that can be
78 // called by a |ConfigurationPolicyProvider| to specify a policy. 77 // called by a |ConfigurationPolicyProvider| to specify a policy.
79 class ConfigurationPolicyStoreInterface { 78 class ConfigurationPolicyStoreInterface {
80 public: 79 public:
81 virtual ~ConfigurationPolicyStoreInterface() {} 80 virtual ~ConfigurationPolicyStoreInterface() {}
82 81
83 // A |ConfigurationPolicyProvider| specifies the value of a policy 82 // A |ConfigurationPolicyProvider| specifies the value of a policy
84 // setting through a call to |Apply|. The configuration policy pref 83 // setting through a call to |Apply|. The configuration policy pref
85 // store takes over the ownership of |value|. 84 // store takes over the ownership of |value|.
86 virtual void Apply(ConfigurationPolicyType policy, Value* value) = 0; 85 virtual void Apply(ConfigurationPolicyType policy, Value* value) = 0;
87 86
88 protected: 87 protected:
89 ConfigurationPolicyStoreInterface() {} 88 ConfigurationPolicyStoreInterface() {}
90 89
91 private: 90 private:
92 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyStoreInterface); 91 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyStoreInterface);
93 }; 92 };
94 93
95 } // namespace policy 94 } // namespace policy
96 95
97 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_STORE_INTERFACE_H_ 96 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_STORE_INTERFACE_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/configuration_policy_pref_store_unittest.cc ('k') | chrome/browser/prefs/command_line_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698