diff options
author | beaudoin@chromium.org <beaudoin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-03 21:22:43 +0000 |
---|---|---|
committer | beaudoin@chromium.org <beaudoin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-03 21:22:43 +0000 |
commit | 008987b027bb94fcffec30e2680d712a7eaf9912 (patch) | |
tree | 11991e5b517d991c537add773fa32fab316caf58 /sync | |
parent | 7f25632befd598b0fa96088c03d16ed604724819 (diff) | |
download | chromium_src-008987b027bb94fcffec30e2680d712a7eaf9912.zip chromium_src-008987b027bb94fcffec30e2680d712a7eaf9912.tar.gz chromium_src-008987b027bb94fcffec30e2680d712a7eaf9912.tar.bz2 |
Add search_terms_replacement_key field to TemplateURL.
This CL is the first step in removing the hardcoded "espv" parameter used by instant-extended to detect when to perform search term replacement in the omnibox.
The search_terms_replacement_key has beed added to prepopulated_engines, TemplateURL, policy, web_database, prefs, and sync.
BUG=161602
Review URL: https://chromiumcodereview.appspot.com/11552020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175014 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync')
-rw-r--r-- | sync/protocol/proto_value_conversions.cc | 1 | ||||
-rw-r--r-- | sync/protocol/search_engine_specifics.proto | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sync/protocol/proto_value_conversions.cc b/sync/protocol/proto_value_conversions.cc index bc486e9..d72b6de 100644 --- a/sync/protocol/proto_value_conversions.cc +++ b/sync/protocol/proto_value_conversions.cc @@ -413,6 +413,7 @@ DictionaryValue* SearchEngineSpecificsToValue( SET_INT64(last_modified); SET_STR(sync_guid); SET_STR_REP(alternate_urls); + SET_STR(search_terms_replacement_key); return value; } diff --git a/sync/protocol/search_engine_specifics.proto b/sync/protocol/search_engine_specifics.proto index 200255b..cc5db72 100644 --- a/sync/protocol/search_engine_specifics.proto +++ b/sync/protocol/search_engine_specifics.proto @@ -62,5 +62,8 @@ message SearchEngineSpecifics { // A list of URL patterns that can be used, in addition to |url| and // |instant_url|, to extract search terms from a URL. repeated string alternate_urls = 19; + // Parameter that, if present in a search URL, indicates that Chrome should + // perform search terms replacement in the omnibox. + optional string search_terms_replacement_key = 20; } |