}
namespace xwalk {
-class RuntimeContext;
+class XWalkBrowserContext;
}
namespace xwalk {
// The ApplicationSystem manages the creation and destruction of services which
// related to applications' runtime model.
// There's one-to-one correspondence between ApplicationSystem and
-// RuntimeContext.
+// XWalkBrowserContext.
class ApplicationSystem {
public:
virtual ~ApplicationSystem();
- static scoped_ptr<ApplicationSystem> Create(RuntimeContext* runtime_context);
+ static scoped_ptr<ApplicationSystem> Create(
+ XWalkBrowserContext* browser_context);
// The ApplicationService is created at startup.
ApplicationService* application_service() {
extensions::XWalkExtensionVector* extensions);
protected:
- explicit ApplicationSystem(RuntimeContext* runtime_context);
+ explicit ApplicationSystem(XWalkBrowserContext* browser_context);
private:
// Note: initialization order matters.
- RuntimeContext* runtime_context_;
+ XWalkBrowserContext* browser_context_;
scoped_ptr<ApplicationService> application_service_;
DISALLOW_COPY_AND_ASSIGN(ApplicationSystem);