Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / content / public / browser / browser_child_process_host.h
index e618ad7..690a015 100644 (file)
@@ -46,6 +46,7 @@ class CONTENT_EXPORT BrowserChildProcessHost : public IPC::Sender {
   virtual void Launch(
 #if defined(OS_WIN)
       SandboxedProcessLauncherDelegate* delegate,
+      bool run_elevated,
 #elif defined(OS_POSIX)
       bool use_zygote,
       const base::EnvironmentMap& environ,
@@ -68,7 +69,7 @@ class CONTENT_EXPORT BrowserChildProcessHost : public IPC::Sender {
       bool known_dead, int* exit_code) = 0;
 
   // Sets the user-visible name of the process.
-  virtual void SetName(const string16& name) = 0;
+  virtual void SetName(const base::string16& name) = 0;
 
   // Set the handle of the process. BrowserChildProcessHost will do this when
   // the Launch method is used to start the process. However if the owner
@@ -77,6 +78,9 @@ class CONTENT_EXPORT BrowserChildProcessHost : public IPC::Sender {
   // this object.
   virtual void SetHandle(base::ProcessHandle handle) = 0;
 
+  // Set the nacl debug stub port of the process.
+  virtual void SetNaClDebugStubPort(int port) = 0;
+
 #if defined(OS_MACOSX) && !defined(OS_IOS)
   // Returns a PortProvider used to get process metrics for child processes.
   static base::ProcessMetrics::PortProvider* GetPortProvider();