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

Unified Diff: content/public/browser/browser_context.h

Issue 10850010: Make session restore understand that tabs have multiple SessionStorageNamespaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unittest using jam's new PRE_ method 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/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index cfe4d53f5e396675460b1fb31f34bdbb0f0b9c68..19c715f1635306498e96118cc34b6d626b798e5e 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -63,6 +63,11 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
static fileapi::FileSystemContext* GetFileSystemContext(
BrowserContext* browser_context);
+ // TODO(ajwong): Make StoragePartition a public interface and move this
+ // function over there:
+ static bool IsValidStoragePartitionId(BrowserContext* browser_context,
+ const std::string& partition_id);
+
// Ensures that the corresponding ResourceContext is initialized. Normally the
// BrowserContext initializs the corresponding getters when its objects are
// created, but if the embedder wants to pass the ResourceContext to another

Powered by Google App Engine
This is Rietveld 408576698