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

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

Issue 3140024: Implement policy for disabling auto fill. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: regenerate XIBs in order to avoid maxID corruption. Created 10 years, 4 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
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_H_ 5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_STORE_H_
6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_STORE_H_ 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_STORE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
(...skipping 12 matching lines...) Expand all
23 kPolicyProxyServerMode, 23 kPolicyProxyServerMode,
24 kPolicyProxyServer, 24 kPolicyProxyServer,
25 kPolicyProxyPacUrl, 25 kPolicyProxyPacUrl,
26 kPolicyProxyBypassList, 26 kPolicyProxyBypassList,
27 kPolicyAlternateErrorPagesEnabled, 27 kPolicyAlternateErrorPagesEnabled,
28 kPolicySearchSuggestEnabled, 28 kPolicySearchSuggestEnabled,
29 kPolicyDnsPrefetchingEnabled, 29 kPolicyDnsPrefetchingEnabled,
30 kPolicySafeBrowsingEnabled, 30 kPolicySafeBrowsingEnabled,
31 kPolicyMetricsReportingEnabled, 31 kPolicyMetricsReportingEnabled,
32 kPolicyPasswordManagerEnabled, 32 kPolicyPasswordManagerEnabled,
33 kPolicyAutoFillEnabled,
33 kPolicySyncDisabled, 34 kPolicySyncDisabled,
34 kPolicyApplicationLocale, 35 kPolicyApplicationLocale,
35 kPolicyExtensionInstallAllowList, 36 kPolicyExtensionInstallAllowList,
36 kPolicyExtensionInstallDenyList, 37 kPolicyExtensionInstallDenyList,
37 kPolicyShowHomeButton, 38 kPolicyShowHomeButton,
38 39
39 // A policy for allowing administrators to forcibly disable 40 // A policy for allowing administrators to forcibly disable
40 // specific plugins. This policy is a comma-separated list of 41 // specific plugins. This policy is a comma-separated list of
41 // plugin names. Plugin names must not include the backslash 42 // plugin names. Plugin names must not include the backslash
42 // character. 43 // character.
43 kPolicyDisabledPlugins 44 kPolicyDisabledPlugins
44 }; 45 };
45 46
46 static const int kPolicyNoProxyServerMode = 0; 47 static const int kPolicyNoProxyServerMode = 0;
47 static const int kPolicyAutoDetectProxyMode = 1; 48 static const int kPolicyAutoDetectProxyMode = 1;
48 static const int kPolicyManuallyConfiguredProxyMode = 2; 49 static const int kPolicyManuallyConfiguredProxyMode = 2;
49 static const int kPolicyUseSystemProxyMode = 3; 50 static const int kPolicyUseSystemProxyMode = 3;
50 51
51 // A |ConfigurationPolicyProvider| specifies the value of a policy setting 52 // A |ConfigurationPolicyProvider| specifies the value of a policy setting
52 // through a call to |Apply|. 53 // through a call to |Apply|.
53 // The configuration policy pref store takes over the ownership of |value|. 54 // The configuration policy pref store takes over the ownership of |value|.
54 virtual void Apply(PolicyType policy, Value* value) = 0; 55 virtual void Apply(PolicyType policy, Value* value) = 0;
55 56
56 private: 57 private:
57 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyStore); 58 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyStore);
58 }; 59 };
59 60
60 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_STORE_H_ 61 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_STORE_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/configuration_policy_provider.cc ('k') | chrome/browser/views/autofill_profiles_view_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698