Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(827)

Unified Diff: content/browser/dom_storage/session_storage_namespace_impl.h

Issue 10831116: Move SessionStorageNamespace entirely into NavigationController and support StoragePartitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mac win compile fixes Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/dom_storage/session_storage_namespace_impl.h
diff --git a/content/browser/dom_storage/session_storage_namespace_impl.h b/content/browser/dom_storage/session_storage_namespace_impl.h
index f075b546a7feae08671f84d5c3ebd6b4237c06b3..65a44f41616a988f3feaf049938d09eaee9a4c6d 100644
--- a/content/browser/dom_storage/session_storage_namespace_impl.h
+++ b/content/browser/dom_storage/session_storage_namespace_impl.h
@@ -20,7 +20,10 @@ class SessionStorageNamespaceImpl
: NON_EXPORTED_BASE(public content::SessionStorageNamespace) {
public:
// Constructs a |SessionStorageNamespaceImpl| and allocates new IDs for it.
- explicit SessionStorageNamespaceImpl(DOMStorageContextImpl* context);
+ //
+ // The CONTENT_EXPORT allows TestRenderViewHost to instantiate these.
+ CONTENT_EXPORT explicit SessionStorageNamespaceImpl(
+ DOMStorageContextImpl* context);
// Constructs a |SessionStorageNamespaceImpl| by cloning
// |namespace_to_clone|. Allocates new IDs for it.
@@ -38,6 +41,7 @@ class SessionStorageNamespaceImpl
virtual void SetShouldPersist(bool should_persist) OVERRIDE;
SessionStorageNamespaceImpl* Clone();
+ bool IsFromContext(DOMStorageContextImpl* context);
private:
explicit SessionStorageNamespaceImpl(dom_storage::DomStorageSession* clone);

Powered by Google App Engine
This is Rietveld 408576698