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

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

Issue 286143010: Remove knowledge of nacl from content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « components/nacl/browser/nacl_browser.cc ('k') | components/nacl/browser/nacl_process_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PROCESS_HOST_H_ 5 #ifndef COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_
6 #define COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ 6 #define COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 private: 100 private:
101 // Internal class that holds the NaClHandle objecs so that 101 // Internal class that holds the NaClHandle objecs so that
102 // nacl_process_host.h doesn't include NaCl headers. Needed since it's 102 // nacl_process_host.h doesn't include NaCl headers. Needed since it's
103 // included by src\content, which can't depend on the NaCl gyp file because it 103 // included by src\content, which can't depend on the NaCl gyp file because it
104 // depends on chrome.gyp (circular dependency). 104 // depends on chrome.gyp (circular dependency).
105 struct NaClInternal; 105 struct NaClInternal;
106 106
107 bool LaunchNaClGdb(); 107 bool LaunchNaClGdb();
108 108
109 // Mark the process as using a particular GDB debug stub port and notify 109 // Mark the process as using a particular GDB debug stub port and notify
110 // listeners. 110 // listeners (if the port is not kGdbDebugStubPortUnknown).
111 void SetDebugStubPort(uint16_t port); 111 void SetDebugStubPort(int port);
112 112
113 #if defined(OS_POSIX) 113 #if defined(OS_POSIX)
114 // Create bound TCP socket in the browser process so that the NaCl GDB debug 114 // Create bound TCP socket in the browser process so that the NaCl GDB debug
115 // stub can use it to accept incoming connections even when the Chrome sandbox 115 // stub can use it to accept incoming connections even when the Chrome sandbox
116 // is enabled. 116 // is enabled.
117 net::SocketDescriptor GetDebugStubSocketHandle(); 117 net::SocketDescriptor GetDebugStubSocketHandle();
118 #endif 118 #endif
119 119
120 #if defined(OS_WIN) 120 #if defined(OS_WIN)
121 // Called when the debug stub port has been selected. 121 // Called when the debug stub port has been selected.
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 236
237 // Throttling time in milliseconds for PpapiHostMsg_Keepalive IPCs. 237 // Throttling time in milliseconds for PpapiHostMsg_Keepalive IPCs.
238 static unsigned keepalive_throttle_interval_milliseconds_; 238 static unsigned keepalive_throttle_interval_milliseconds_;
239 239
240 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); 240 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost);
241 }; 241 };
242 242
243 } // namespace nacl 243 } // namespace nacl
244 244
245 #endif // COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ 245 #endif // COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « components/nacl/browser/nacl_browser.cc ('k') | components/nacl/browser/nacl_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698