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

Unified Diff: chrome/browser/ui/search_engines/search_engine_tab_helper.cc

Issue 6683066: Remove render_messages_params files since they're not needed anymore. I moved the search provide... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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
« no previous file with comments | « chrome/browser/ui/search_engines/search_engine_tab_helper.h ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search_engines/search_engine_tab_helper.cc
===================================================================
--- chrome/browser/ui/search_engines/search_engine_tab_helper.cc (revision 79639)
+++ chrome/browser/ui/search_engines/search_engine_tab_helper.cc (working copy)
@@ -50,7 +50,7 @@
void SearchEngineTabHelper::OnPageHasOSDD(
int32 page_id,
const GURL& doc_url,
- const ViewHostMsg_PageHasOSDD_Type& msg_provider_type) {
+ const search_provider::OSDDType& msg_provider_type) {
// Checks to see if we should generate a keyword based on the OSDD, and if
// necessary uses TemplateURLFetcher to download the OSDD and create a
// keyword.
@@ -65,16 +65,16 @@
return;
TemplateURLFetcher::ProviderType provider_type;
- switch (msg_provider_type.type) {
- case ViewHostMsg_PageHasOSDD_Type::AUTODETECTED_PROVIDER:
+ switch (msg_provider_type) {
+ case search_provider::AUTODETECTED_PROVIDER:
provider_type = TemplateURLFetcher::AUTODETECTED_PROVIDER;
break;
- case ViewHostMsg_PageHasOSDD_Type::EXPLICIT_DEFAULT_PROVIDER:
+ case search_provider::EXPLICIT_DEFAULT_PROVIDER:
provider_type = TemplateURLFetcher::EXPLICIT_DEFAULT_PROVIDER;
break;
- case ViewHostMsg_PageHasOSDD_Type::EXPLICIT_PROVIDER:
+ case search_provider::EXPLICIT_PROVIDER:
provider_type = TemplateURLFetcher::EXPLICIT_PROVIDER;
break;
« no previous file with comments | « chrome/browser/ui/search_engines/search_engine_tab_helper.h ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698