Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_PROCESS_LAUNCHER_H_ | |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_PROCESS_LAUNCHER_H_ | |
| 7 | |
| 8 #include "base/process.h" | |
| 9 #include "chrome/browser/extensions/api/messaging/native_message_process_host.h" | |
| 10 | |
| 11 class FilePath; | |
| 12 | |
| 13 namespace extensions { | |
| 14 | |
| 15 class NativeProcessLauncher { | |
| 16 public: | |
| 17 virtual ~NativeProcessLauncher() {} | |
| 18 virtual bool LaunchNativeProcess( | |
| 19 const FilePath& path, | |
| 20 base::ProcessHandle* native_process_handle, | |
| 21 NativeMessageProcessHost::FileHandle* read_file, | |
| 22 NativeMessageProcessHost::FileHandle* write_file) const; | |
| 23 }; | |
|
Matt Perry
2012/08/22 00:02:42
DISALLOW_COPY_AND_ASSIGN
eaugusti
2012/08/31 23:47:13
Done.
| |
| 24 | |
| 25 } // namespace extensions | |
| 26 | |
| 27 #endif // CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_PROCESS_LAUNCHER_H_ | |
| OLD | NEW |