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

Unified Diff: chrome/browser/extensions/tab_helper.cc

Issue 568823003: Merge Android RetrieveWebappInformation and Extensions GetApplicationInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@manifest_manager_content
Patch Set: review comments Created 6 years, 3 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
Index: chrome/browser/extensions/tab_helper.cc
diff --git a/chrome/browser/extensions/tab_helper.cc b/chrome/browser/extensions/tab_helper.cc
index 42d4144d899730fb2eb28a1faf5483f4556a37c6..5e2d9467a8b71de90fe9f3313400cd41341e3fd2 100644
--- a/chrome/browser/extensions/tab_helper.cc
+++ b/chrome/browser/extensions/tab_helper.cc
@@ -250,8 +250,8 @@ void TabHelper::DidNavigateMainFrame(
bool TabHelper::OnMessageReceived(const IPC::Message& message) {
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(TabHelper, message)
- IPC_MESSAGE_HANDLER(ChromeExtensionHostMsg_DidGetApplicationInfo,
- OnDidGetApplicationInfo)
+ IPC_MESSAGE_HANDLER(ChromeViewHostMsg_DidGetWebApplicationInfo,
+ OnDidGetWebApplicationInfo)
IPC_MESSAGE_HANDLER(ExtensionHostMsg_InlineWebstoreInstall,
OnInlineWebstoreInstall)
IPC_MESSAGE_HANDLER(ExtensionHostMsg_GetAppInstallState,
@@ -288,7 +288,7 @@ void TabHelper::DidCloneToNewWebContents(WebContents* old_web_contents,
new_helper->extension_app_icon_ = extension_app_icon_;
}
-void TabHelper::OnDidGetApplicationInfo(const WebApplicationInfo& info) {
+void TabHelper::OnDidGetWebApplicationInfo(const WebApplicationInfo& info) {
#if !defined(OS_MACOSX)
web_app_info_ = info;
@@ -513,7 +513,7 @@ void TabHelper::GetApplicationInfo(WebAppAction action) {
pending_web_app_action_ = action;
last_committed_page_id_ = entry->GetPageID();
- Send(new ChromeExtensionMsg_GetApplicationInfo(routing_id()));
+ Send(new ChromeViewMsg_GetWebApplicationInfo(routing_id()));
}
void TabHelper::Observe(int type,

Powered by Google App Engine
This is Rietveld 408576698