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

Unified Diff: chrome/browser/policy/configuration_policy_handler.h

Issue 10908226: Introduces a search term extraction mechanism working for arbitrary search providers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Indent fix. Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/configuration_policy_handler.h
diff --git a/chrome/browser/policy/configuration_policy_handler.h b/chrome/browser/policy/configuration_policy_handler.h
index 040380878fc50301228b5bff2c5bb9ad5b17d4ba..b292cb3495c0f367bd606ca54e62c1295cec6f08 100644
--- a/chrome/browser/policy/configuration_policy_handler.h
+++ b/chrome/browser/policy/configuration_policy_handler.h
@@ -285,10 +285,14 @@ class DefaultSearchPolicyHandler : public ConfigurationPolicyHandler {
const Value** url_value,
std::string* url_string);
- // Make sure that the |path| if present in |prefs_|. If not, set it to
+ // Make sure that the |path| is present in |prefs_|. If not, set it to
// a blank string.
void EnsureStringPrefExists(PrefValueMap* prefs, const std::string& path);
+ // Make sure that the |path| is present in |prefs_| and is a ListValue. If
+ // not, set it to an empty list.
+ void EnsureListPrefExists(PrefValueMap* prefs, const std::string& path);
+
// The ConfigurationPolicyHandler handlers for each default search policy.
std::vector<ConfigurationPolicyHandler*> handlers_;

Powered by Google App Engine
This is Rietveld 408576698