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

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

Issue 11419233: intents: Kill deprecated SendReplyMessage method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index d34825be8b28181bf7327c85e2e2c857f987fd48..033f8b669dfd2357831b2a1070e6f008ded251e8 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1708,9 +1708,9 @@ void Browser::WebIntentDispatch(
extensions_service->extensions()->GetExtensionOrAppByURL(
ExtensionURLInfo(web_contents->GetURL())) == NULL) {
web_intents::RecordIntentsDispatchDisabled();
- intents_dispatcher->SendReplyMessage(
+ intents_dispatcher->SendReply(webkit_glue::WebIntentReply(
webkit_glue::WEB_INTENT_REPLY_FAILURE,
- ASCIIToUTF16("Intents may only be invoked from extensions/apps."));
+ ASCIIToUTF16("Intents may only be invoked from extensions/apps.")));
return;
}
}
@@ -1722,9 +1722,9 @@ void Browser::WebIntentDispatch(
intents_dispatcher->GetIntent().action !=
ASCIIToUTF16(web_intents::kActionView)) {
web_intents::RecordIntentsDispatchDisabled();
- intents_dispatcher->SendReplyMessage(
+ intents_dispatcher->SendReply(webkit_glue::WebIntentReply(
webkit_glue::WEB_INTENT_REPLY_FAILURE,
- ASCIIToUTF16("Intents may only be invoked from extensions/apps."));
+ ASCIIToUTF16("Intents may only be invoked from extensions/apps.")));
return;
}
#endif

Powered by Google App Engine
This is Rietveld 408576698