| 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 CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ | 5 #ifndef CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ |
| 6 #define CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ | 6 #define CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> |
| 10 |
| 9 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 10 | 12 |
| 11 #include "base/file_path.h" | 13 #include "base/file_path.h" |
| 12 #include "base/file_util_proxy.h" | 14 #include "base/file_util_proxy.h" |
| 13 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 14 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 15 #include "base/message_loop.h" | 17 #include "base/message_loop.h" |
| 16 #include "base/process.h" | 18 #include "base/process.h" |
| 17 #include "chrome/common/nacl_types.h" | 19 #include "chrome/common/nacl_types.h" |
| 18 #include "content/public/browser/browser_child_process_host_delegate.h" | 20 #include "content/public/browser/browser_child_process_host_delegate.h" |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 // the reply. NULL when there is no reply to send. | 132 // the reply. NULL when there is no reply to send. |
| 131 IPC::Message* reply_msg_; | 133 IPC::Message* reply_msg_; |
| 132 | 134 |
| 133 // Set of extensions for (NaCl) manifest auto-detection. The file path to | 135 // Set of extensions for (NaCl) manifest auto-detection. The file path to |
| 134 // manifest is passed to nacl-gdb when it is used to debug the NaCl loader. | 136 // manifest is passed to nacl-gdb when it is used to debug the NaCl loader. |
| 135 scoped_refptr<ExtensionInfoMap> extension_info_map_; | 137 scoped_refptr<ExtensionInfoMap> extension_info_map_; |
| 136 | 138 |
| 137 // Socket pairs for the NaCl process and renderer. | 139 // Socket pairs for the NaCl process and renderer. |
| 138 scoped_ptr<NaClInternal> internal_; | 140 scoped_ptr<NaClInternal> internal_; |
| 139 | 141 |
| 142 std::string ppapi_channel_name_; |
| 143 |
| 140 base::WeakPtrFactory<NaClProcessHost> weak_factory_; | 144 base::WeakPtrFactory<NaClProcessHost> weak_factory_; |
| 141 | 145 |
| 142 scoped_ptr<content::BrowserChildProcessHost> process_; | 146 scoped_ptr<content::BrowserChildProcessHost> process_; |
| 143 | 147 |
| 144 bool enable_exception_handling_; | 148 bool enable_exception_handling_; |
| 145 | 149 |
| 146 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); | 150 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); |
| 147 }; | 151 }; |
| 148 | 152 |
| 149 #endif // CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ | 153 #endif // CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ |
| OLD | NEW |