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

Side by Side Diff: trunk/src/content/public/browser/browser_child_process_host.h

Issue 290633006: Revert 270907 "Remove knowledge of nacl from content." (Closed) Base URL: svn://svn.chromium.org/chrome/
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
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 CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_
7 7
8 #include "base/environment.h" 8 #include "base/environment.h"
9 #include "base/process/kill.h" 9 #include "base/process/kill.h"
10 #include "base/process/process_handle.h" 10 #include "base/process/process_handle.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Sets the user-visible name of the process. 64 // Sets the user-visible name of the process.
65 virtual void SetName(const base::string16& name) = 0; 65 virtual void SetName(const base::string16& name) = 0;
66 66
67 // Set the handle of the process. BrowserChildProcessHost will do this when 67 // Set the handle of the process. BrowserChildProcessHost will do this when
68 // the Launch method is used to start the process. However if the owner 68 // the Launch method is used to start the process. However if the owner
69 // of this object doesn't call Launch and starts the process in another way, 69 // of this object doesn't call Launch and starts the process in another way,
70 // they need to call this method so that the process handle is associated with 70 // they need to call this method so that the process handle is associated with
71 // this object. 71 // this object.
72 virtual void SetHandle(base::ProcessHandle handle) = 0; 72 virtual void SetHandle(base::ProcessHandle handle) = 0;
73 73
74 // Set the nacl debug stub port of the process.
75 virtual void SetNaClDebugStubPort(int port) = 0;
76
74 #if defined(OS_MACOSX) && !defined(OS_IOS) 77 #if defined(OS_MACOSX) && !defined(OS_IOS)
75 // Returns a PortProvider used to get process metrics for child processes. 78 // Returns a PortProvider used to get process metrics for child processes.
76 static base::ProcessMetrics::PortProvider* GetPortProvider(); 79 static base::ProcessMetrics::PortProvider* GetPortProvider();
77 #endif 80 #endif
78 }; 81 };
79 82
80 }; // namespace content 83 }; // namespace content
81 84
82 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_ 85 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « trunk/src/content/browser/browser_child_process_host_impl.cc ('k') | trunk/src/content/public/browser/child_process_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698