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

Side by Side Diff: chrome/browser/nacl_host/nacl_process_host.h

Issue 10214007: Add an IPC channel between the NaCl loader process and the renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
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 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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/nacl_host/nacl_process_host.cc » ('j') | content/public/renderer/render_view.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698