Index: chrome/browser/extensions/api/messaging/native_process_launcher.cc |
diff --git a/chrome/browser/extensions/api/messaging/native_process_launcher.cc b/chrome/browser/extensions/api/messaging/native_process_launcher.cc |
index 0f8992e7c92904cac3fb1da326e1b6cd11de94ec..46ae6242d54ca1b5f11ff969349bc8d83b77db38 100644 |
--- a/chrome/browser/extensions/api/messaging/native_process_launcher.cc |
+++ b/chrome/browser/extensions/api/messaging/native_process_launcher.cc |
@@ -24,9 +24,11 @@ namespace extensions { |
namespace { |
+#if defined(OS_WIN) |
// Name of the command line switch used to pass handle of the native view to |
// the native messaging host. |
const char kParentWindowSwitchName[] = "parent-window"; |
+#endif // defined(OS_WIN) |
base::FilePath GetHostManifestPathFromCommandLine( |
const std::string& native_host_name) { |