Index: chrome/browser/ui/intents/web_intent_picker_controller.cc |
diff --git a/chrome/browser/ui/intents/web_intent_picker_controller.cc b/chrome/browser/ui/intents/web_intent_picker_controller.cc |
index 38eb5f2e0019f76a62e0aa1adc8e8e561609b313..d9e862c9953f71094ea7932334b6a99e0536bbdc 100644 |
--- a/chrome/browser/ui/intents/web_intent_picker_controller.cc |
+++ b/chrome/browser/ui/intents/web_intent_picker_controller.cc |
@@ -219,7 +219,7 @@ void WebIntentPickerController::ShowDialog(const string16& action, |
picker_model_->Clear(); |
picker_model_->set_action(action); |
- picker_model_->set_mimetype(type); |
+ picker_model_->set_type(type); |
// If the intent is explicit, skip showing the picker. |
if (intents_dispatcher_) { |
@@ -382,7 +382,7 @@ void WebIntentPickerController::OnSuggestionsLinkClicked() { |
browser::FindBrowserWithWebContents(tab_contents_->web_contents()); |
GURL query_url = extension_urls::GetWebstoreIntentQueryURL( |
UTF16ToUTF8(picker_model_->action()), |
- UTF16ToUTF8(picker_model_->mimetype())); |
+ UTF16ToUTF8(picker_model_->type())); |
chrome::NavigateParams params(browser, query_url, |
content::PAGE_TRANSITION_AUTO_BOOKMARK); |
params.disposition = NEW_FOREGROUND_TAB; |
@@ -422,7 +422,7 @@ void WebIntentPickerController::OnExtensionInstallSuccess( |
pending_async_count_++; |
GetWebIntentsRegistry(tab_contents_)->GetIntentServicesForExtensionFilter( |
picker_model_->action(), |
- picker_model_->mimetype(), |
+ picker_model_->type(), |
id, |
base::Bind( |
&WebIntentPickerController::OnExtensionInstallServiceAvailable, |