When creating a background contents, also adopt the session storage namespace.
We already told the RenderView to use this, so we need to adopt it on
the browser side as well.
BUG=269449
[email protected],[email protected],[email protected]
Review URL: https://chromiumcodereview.appspot.com/22854010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217553 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index 23d2336..69ac871 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -37,6 +37,7 @@
class JavaScriptDialogManager;
class PageState;
class RenderViewHost;
+class SessionStorageNamespace;
class WebContents;
class WebContentsImpl;
struct ContextMenuParams;
@@ -300,11 +301,8 @@
WindowContainerType window_container_type,
const string16& frame_name,
const GURL& target_url,
- const Referrer& referrer,
- WindowOpenDisposition disposition,
- const WebKit::WebWindowFeatures& features,
- bool user_gesture,
- bool opener_suppressed);
+ const std::string& partition_id,
+ SessionStorageNamespace* session_storage_namespace);
// Notifies the delegate about the creation of a new WebContents. This
// typically happens when popups are created.