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

Side by Side Diff: chrome/browser/policy/configuration_policy_pref_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, 3 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_PREF_STORE_H_ 5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PREF_STORE_H_
6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PREF_STORE_H_ 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PREF_STORE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 // Processes plugin policies. Returns true if the specified policy 93 // Processes plugin policies. Returns true if the specified policy
94 // is a plugin-related policy. ApplyPluginPolicy assumes the ownership 94 // is a plugin-related policy. ApplyPluginPolicy assumes the ownership
95 // of |value| in the case that the policy is plugin-specific. 95 // of |value| in the case that the policy is plugin-specific.
96 bool ApplyPluginPolicy(PolicyType policy, Value* value); 96 bool ApplyPluginPolicy(PolicyType policy, Value* value);
97 97
98 // Handles sync-related policies. Returns true if the policy was handled. 98 // Handles sync-related policies. Returns true if the policy was handled.
99 // Assumes ownership of |value| in that case. 99 // Assumes ownership of |value| in that case.
100 bool ApplySyncPolicy(PolicyType policy, Value* value); 100 bool ApplySyncPolicy(PolicyType policy, Value* value);
101 101
102 // Handles policies that affect AutoFill. Returns true if the policy was
103 // handled and assumes ownership of |value| in that case.
104 bool ApplyAutoFillPolicy(PolicyType policy, Value* value);
105
102 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyPrefStore); 106 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyPrefStore);
103 }; 107 };
104 108
105 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PREF_STORE_H_ 109 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PREF_STORE_H_
OLDNEW
« no previous file with comments | « chrome/browser/managed_prefs_banner_base.cc ('k') | chrome/browser/policy/configuration_policy_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698