OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |