Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / xwalk / runtime / browser / runtime_context.h
index 6bff15f..3e95475 100644 (file)
@@ -9,6 +9,7 @@
 #include <string>
 #endif
 
+#include <map>
 #include <vector>
 
 #include "base/compiler_specific.h"
@@ -69,6 +70,8 @@ class RuntimeContext
   virtual content::ResourceContext* GetResourceContext() OVERRIDE;
   virtual content::GeolocationPermissionContext*
       GetGeolocationPermissionContext() OVERRIDE;
+  virtual content::BrowserPluginGuestManagerDelegate*
+      GetGuestManagerDelegate() OVERRIDE;
   virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
   virtual void RequestMidiSysExPermission(
       int render_process_id,
@@ -132,6 +135,10 @@ class RuntimeContext
   scoped_ptr<visitedlink::VisitedLinkMaster> visitedlink_master_;
 #endif
 
+  typedef std::map<std::string, scoped_refptr<RuntimeURLRequestContextGetter> >
+      PartitionPathContextGetterMap;
+  PartitionPathContextGetterMap context_getters_;
+
   DISALLOW_COPY_AND_ASSIGN(RuntimeContext);
 };