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

Side by Side Diff: chrome/browser/extensions/api/messaging/native_process_launcher.h

Issue 10818013: Native Messaging! (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: nit Created 8 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 unified diff | Download patch
OLDNEW
(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 NativeProcessLauncher() {}
18 virtual ~NativeProcessLauncher() {}
19 virtual bool LaunchNativeProcess(
20 const FilePath& path,
21 base::ProcessHandle* native_process_handle,
22 NativeMessageProcessHost::FileHandle* read_file,
23 NativeMessageProcessHost::FileHandle* write_file) const;
24
25 private:
26 DISALLOW_COPY_AND_ASSIGN(NativeProcessLauncher);
27 };
28
29 } // namespace extensions
30
31 #endif // CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_PROCESS_LAUNCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698