diff options
author | jered@chromium.org <jered@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-19 21:05:12 +0000 |
---|---|---|
committer | jered@chromium.org <jered@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-19 21:05:12 +0000 |
commit | 041238dd89de5d33c6fd999bffb05763371ba86c (patch) | |
tree | 4274a3c3e31fc8b71799c2332f4288975b92feb3 /chrome/app | |
parent | 6ac871ead3c0de8b88f86dc01e3a182c2ec96a36 (diff) | |
download | chromium_src-041238dd89de5d33c6fd999bffb05763371ba86c.zip chromium_src-041238dd89de5d33c6fd999bffb05763371ba86c.tar.gz chromium_src-041238dd89de5d33c6fd999bffb05763371ba86c.tar.bz2 |
InstantExtended: Persist TemplateURL.new_tab_url.
Save new tab URL in prefs, web_data/keywords and policy. This is built
on http://crrev.com/22945004
BUG=271084
TEST=unit_tests and browsertest
R=atwilson@chromium.org, pkasting@chromium.org
Review URL: https://codereview.chromium.org/23009005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218316 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/policy/policy_templates.json | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json index 10ad804..44b942e 100644 --- a/chrome/app/policy/policy_templates.json +++ b/chrome/app/policy/policy_templates.json @@ -117,7 +117,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: 236 +# For your editing convenience: highest ID currently used: 237 # # Placeholders: # The following placeholder strings are automatically substituted: @@ -1888,6 +1888,24 @@ This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''', }, { + 'name': 'DefaultSearchProviderNewTabURL', + 'type': 'string', + 'schema': { 'type': 'string' }, + 'supported_on': ['chrome.*:30-', 'chrome_os:0.30-', 'android:30-'], + 'features': { + 'dynamic_refresh': True, + 'per_profile': True, + }, + 'example_value': 'http://search.my.company/newtab', + 'id': 237, + 'caption': '''Default search provider new tab page URL''', + 'desc': '''Specifies the URL that a search engine uses to provide a new tab page. + + This policy is optional. If not set, no new tab page will be provided. + + This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''', + }, + { 'name': 'DefaultSearchProviderSearchURLPostParams', 'type': 'string', 'schema': { 'type': 'string' }, |