Upstream version 9.37.195.0
[platform/framework/web/crosswalk.git] / src / xwalk / runtime / browser / xwalk_runner.h
index 09d8b6b..5ff56c5 100644 (file)
@@ -24,6 +24,7 @@ namespace xwalk {
 
 class RuntimeContext;
 class ApplicationComponent;
+class RemoteDebuggingServer;
 class SysAppsComponent;
 class XWalkComponent;
 class XWalkContentBrowserClient;
@@ -77,6 +78,9 @@ class XWalkRunner {
   virtual void PreMainMessageLoopRun();
   virtual void PostMainMessageLoopRun();
 
+  void EnableRemoteDebugging(int port);
+  void DisableRemoteDebugging();
+
  protected:
   XWalkRunner();
 
@@ -132,6 +136,9 @@ class XWalkRunner {
 
   ApplicationComponent* app_component_;
 
+  // Remote debugger server.
+  scoped_ptr<RemoteDebuggingServer> remote_debugging_server_;
+
   // These variables are used to export some values from the browser process
   // side to the extension side, such as application IDs and whatnot.
   void InitializeRuntimeVariablesForExtensions(