Upstream version 8.36.169.0
[platform/framework/web/crosswalk.git] / src / xwalk / runtime / browser / xwalk_runner.h
index 8a2de0a..09d8b6b 100644 (file)
@@ -73,18 +73,10 @@ class XWalkRunner {
     return extension_service_.get();
   }
 
-  // Return true if Crosswalk is running in service mode, i.e. taking
-  // requests from native IPC mechanism to launch applications.
-  bool is_running_as_service() const { return is_running_as_service_; }
-
   // Stages of main parts. See content/browser_main_parts.h for description.
   virtual void PreMainMessageLoopRun();
   virtual void PostMainMessageLoopRun();
 
-  // Get the latest application locale from system.
-  // locale is a langtag defined in [BCP47]
-  virtual std::string GetLocale() const;
-
  protected:
   XWalkRunner();
 
@@ -140,13 +132,11 @@ class XWalkRunner {
 
   ApplicationComponent* app_component_;
 
-  bool is_running_as_service_;
-
   // 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(
       const content::RenderProcessHost* host,
-      base::ValueMap& runtime_variables);
+      base::ValueMap* runtime_variables);
 
   DISALLOW_COPY_AND_ASSIGN(XWalkRunner);
 };