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

Unified Diff: chrome/browser/renderer_host/chrome_extension_message_filter.cc

Issue 2006013002: [Extensions] Determine NativeMessaging ID solely on the browser process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ;; Created 4 years, 7 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/renderer_host/chrome_extension_message_filter.cc
diff --git a/chrome/browser/renderer_host/chrome_extension_message_filter.cc b/chrome/browser/renderer_host/chrome_extension_message_filter.cc
index 1b00ed436a5c42386c295d1f340fffd174c09134..48fa2321f617e4b69c8e81038bf24782d2c6b492 100644
--- a/chrome/browser/renderer_host/chrome_extension_message_filter.cc
+++ b/chrome/browser/renderer_host/chrome_extension_message_filter.cc
@@ -167,7 +167,6 @@ void ChromeExtensionMessageFilter::OpenChannelToExtensionOnUIThread(
void ChromeExtensionMessageFilter::OnOpenChannelToNativeApp(
int routing_id,
- const std::string& source_extension_id,
const std::string& native_app_name,
int* port_id) {
int port2_id;
@@ -177,13 +176,12 @@ void ChromeExtensionMessageFilter::OnOpenChannelToNativeApp(
BrowserThread::UI, FROM_HERE,
base::Bind(
&ChromeExtensionMessageFilter::OpenChannelToNativeAppOnUIThread,
- this, routing_id, port2_id, source_extension_id, native_app_name));
+ this, routing_id, port2_id, native_app_name));
}
void ChromeExtensionMessageFilter::OpenChannelToNativeAppOnUIThread(
int source_routing_id,
int receiver_port_id,
- const std::string& source_extension_id,
const std::string& native_app_name) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
if (profile_) {
@@ -191,7 +189,6 @@ void ChromeExtensionMessageFilter::OpenChannelToNativeAppOnUIThread(
->OpenChannelToNativeApp(render_process_id_,
source_routing_id,
receiver_port_id,
- source_extension_id,
native_app_name);
}
}
« no previous file with comments | « chrome/browser/renderer_host/chrome_extension_message_filter.h ('k') | extensions/browser/extension_web_contents_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698