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

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

Issue 5991003: Added group policy for disabling all client-side 3D APIs in Chromium... (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:
Added: 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 kPolicyDefaultPluginsSetting, 57 kPolicyDefaultPluginsSetting,
58 kPolicyDefaultPopupsSetting, 58 kPolicyDefaultPopupsSetting,
59 kPolicyExtensionInstallForceList, 59 kPolicyExtensionInstallForceList,
60 kPolicyChromeOsLockOnIdleSuspend, 60 kPolicyChromeOsLockOnIdleSuspend,
61 kPolicyAuthSchemes, 61 kPolicyAuthSchemes,
62 kPolicyDisableAuthNegotiateCnameLookup, 62 kPolicyDisableAuthNegotiateCnameLookup,
63 kPolicyEnableAuthNegotiatePort, 63 kPolicyEnableAuthNegotiatePort,
64 kPolicyAuthServerWhitelist, 64 kPolicyAuthServerWhitelist,
65 kPolicyAuthNegotiateDelegateWhitelist, 65 kPolicyAuthNegotiateDelegateWhitelist,
66 kPolicyGSSAPILibraryName, 66 kPolicyGSSAPILibraryName,
67 kPolicyDisable3DAPIs
67 }; 68 };
68 69
69 static const int kPolicyNoProxyServerMode = 0; 70 static const int kPolicyNoProxyServerMode = 0;
70 static const int kPolicyAutoDetectProxyMode = 1; 71 static const int kPolicyAutoDetectProxyMode = 1;
71 static const int kPolicyManuallyConfiguredProxyMode = 2; 72 static const int kPolicyManuallyConfiguredProxyMode = 2;
72 static const int kPolicyUseSystemProxyMode = 3; 73 static const int kPolicyUseSystemProxyMode = 3;
73 74
74 // An abstract super class for policy stores that provides a method that can be 75 // An abstract super class for policy stores that provides a method that can be
75 // called by a |ConfigurationPolicyProvider| to specify a policy. 76 // called by a |ConfigurationPolicyProvider| to specify a policy.
76 class ConfigurationPolicyStoreInterface { 77 class ConfigurationPolicyStoreInterface {
77 public: 78 public:
78 virtual ~ConfigurationPolicyStoreInterface() {} 79 virtual ~ConfigurationPolicyStoreInterface() {}
79 80
80 // A |ConfigurationPolicyProvider| specifies the value of a policy 81 // A |ConfigurationPolicyProvider| specifies the value of a policy
81 // setting through a call to |Apply|. The configuration policy pref 82 // setting through a call to |Apply|. The configuration policy pref
82 // store takes over the ownership of |value|. 83 // store takes over the ownership of |value|.
83 virtual void Apply(ConfigurationPolicyType policy, Value* value) = 0; 84 virtual void Apply(ConfigurationPolicyType policy, Value* value) = 0;
84 85
85 protected: 86 protected:
86 ConfigurationPolicyStoreInterface() {} 87 ConfigurationPolicyStoreInterface() {}
87 88
88 private: 89 private:
89 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyStoreInterface); 90 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyStoreInterface);
90 }; 91 };
91 92
92 } // namespace policy 93 } // namespace policy
93 94
94 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_STORE_INTERFACE_H_ 95 #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