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

Side by Side Diff: components/nacl/browser/nacl_broker_host_win.h

Issue 2081183005: Use ChannelMojo from the browser to NaCl loader process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-ipc-channel-handle
Patch Set: jfhgjdhgjdf Created 4 years, 5 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_NACL_BROWSER_NACL_BROKER_HOST_WIN_H_ 5 #ifndef COMPONENTS_NACL_BROWSER_NACL_BROKER_HOST_WIN_H_
6 #define COMPONENTS_NACL_BROWSER_NACL_BROKER_HOST_WIN_H_ 6 #define COMPONENTS_NACL_BROWSER_NACL_BROKER_HOST_WIN_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 void OnLoaderLaunched(const std::string& loader_channel_id, 50 void OnLoaderLaunched(const std::string& loader_channel_id,
51 base::ProcessHandle handle); 51 base::ProcessHandle handle);
52 // Handler for NaClProcessMsg_DebugExceptionHandlerLaunched message 52 // Handler for NaClProcessMsg_DebugExceptionHandlerLaunched message
53 void OnDebugExceptionHandlerLaunched(int32_t pid, bool success); 53 void OnDebugExceptionHandlerLaunched(int32_t pid, bool success);
54 54
55 // BrowserChildProcessHostDelegate implementation: 55 // BrowserChildProcessHostDelegate implementation:
56 bool OnMessageReceived(const IPC::Message& msg) override; 56 bool OnMessageReceived(const IPC::Message& msg) override;
57 57
58 std::unique_ptr<content::BrowserChildProcessHost> process_; 58 std::unique_ptr<content::BrowserChildProcessHost> process_;
59 bool is_terminating_; 59 bool is_terminating_;
60 const std::string mojo_child_token_;
60 61
61 DISALLOW_COPY_AND_ASSIGN(NaClBrokerHost); 62 DISALLOW_COPY_AND_ASSIGN(NaClBrokerHost);
62 }; 63 };
63 64
64 } // namespace nacl 65 } // namespace nacl
65 66
66 #endif // COMPONENTS_NACL_BROWSER_NACL_BROKER_HOST_WIN_H_ 67 #endif // COMPONENTS_NACL_BROWSER_NACL_BROKER_HOST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698