summaryrefslogtreecommitdiffstats
path: root/LICENSE.chromium_os
diff options
context:
space:
mode:
authorhashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-27 09:42:33 +0000
committerhashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-27 09:42:33 +0000
commitc73b2b58e4646f4b586847cfed06875df3f7c341 (patch)
tree733fd60d58cef6c22d48cf7a39215ff307e1704d /LICENSE.chromium_os
parentdc7f20fac3853a1962ec1c73999e44e9c33eee65 (diff)
downloadchromium_src-c73b2b58e4646f4b586847cfed06875df3f7c341.zip
chromium_src-c73b2b58e4646f4b586847cfed06875df3f7c341.tar.gz
chromium_src-c73b2b58e4646f4b586847cfed06875df3f7c341.tar.bz2
Stop determining the type of a TemplateURL by the URL scheme
Omnibox API uses URLs with chrome-extension scheme to force TemplateURL::GetType() to return the desired value. OTOH, SettingsOverridesAPI uses AssociatedExtensionInfo to do the same thing. Use AssociatedExtensionInfo as the only way to inject extension related information to TemplateURL to eliminate this redundancy. TemplateURL uses AssociatedExtensionInfo for both OmniboxAPI and SettingsOverridesAPI. Fix TemplateURLService::RegisterOmniboxKeyword() as a wrapper of AddExtensionControlledTURL(). Merge TemplateURLService::UnregisterOmniboxKeyword() to RemoveExtensionControlledTURL(). Move the code inside of TemplateURLService::CreateTemplateURLForExtension() to OmniboxAPI. No #include to src/extensions from chrome/browser/search_engines. BUG=388040, 388338 TEST=git cl try Review URL: https://codereview.chromium.org/346843008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280291 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'LICENSE.chromium_os')
0 files changed, 0 insertions, 0 deletions