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

Unified Diff: chrome/browser/extensions/api/messaging/native_process_launcher.h

Issue 12406002: Pass ID of the calling extension to the native messaging host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/api/messaging/native_process_launcher.h
diff --git a/chrome/browser/extensions/api/messaging/native_process_launcher.h b/chrome/browser/extensions/api/messaging/native_process_launcher.h
index f1b6483b9d15a813653691661bfcd0896341ab39..b773e3ecdc27b6df2cfa9c939a12153f38ababdc 100644
--- a/chrome/browser/extensions/api/messaging/native_process_launcher.h
+++ b/chrome/browser/extensions/api/messaging/native_process_launcher.h
@@ -8,6 +8,7 @@
#include "base/process.h"
#include "chrome/browser/extensions/api/messaging/native_message_process_host.h"
+class CommandLine;
class GURL;
namespace base {
@@ -53,7 +54,7 @@ class NativeProcessLauncher {
// Launches native messaging process.
static bool LaunchNativeProcess(
- const base::FilePath& path,
+ const CommandLine& command_line,
base::PlatformFile* read_file,
base::PlatformFile* write_file);

Powered by Google App Engine
This is Rietveld 408576698