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

Unified Diff: chrome/app/policy/policy_templates.json

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: Answered code review comments. Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/app/policy/policy_templates.json
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json
index aba9eab71674917b94954c268eac73b6797fbb6c..58e1f6350957fbee4c9e7c0f2782b6d6d9d90e32 100644
--- a/chrome/app/policy/policy_templates.json
+++ b/chrome/app/policy/policy_templates.json
@@ -112,7 +112,7 @@
# persistent IDs for all fields (but not for groups!) are needed. These are
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
# because doing so would break the deployed wire format!
-# For your editing convenience: highest ID currently used: 160
+# For your editing convenience: highest ID currently used: 161
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -1547,6 +1547,21 @@
This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
},
+ {
+ 'name': 'DefaultSearchProviderAlternateURLs',
+ 'type': 'string',
+ 'schema': { 'type': 'string' },
+ 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'],
Joao da Silva 2012/09/24 09:12:29 Update the versions to 24
beaudoin 2012/09/27 17:37:13 Done.
+ 'features': {'dynamic_refresh': True},
+ 'example_value': 'http://search.my.company/suggest?q={searchTerms},http://search.my.company/suggest#q={searchTerms}',
+ 'id': 161,
+ 'caption': '''Comma separated list of alternate URLs for the default search provider.''',
Joao da Silva 2012/09/24 09:12:29 Why not use a list policy, like DefaultSearchProvi
beaudoin 2012/09/27 17:37:13 Done.
+ 'desc': '''Specifies a list of alternate URLs that can be used to extract search terms from the search engine. The URLs should be comma separated and should contain the string <ph name="SEARCH_TERM_MARKER">'{searchTerms}'</ph>, which will be used to extract the search terms.
+
+ This policy is optional. If not set, no alternate urls will be used to extract search terms.
+
+ This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
+ },
],
},
{
« no previous file with comments | « no previous file | chrome/browser/google/google_util.h » ('j') | chrome/browser/search_engines/template_url_service_factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698