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();
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);
};