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

Unified Diff: content/browser/browser_context.cc

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/browser/browser_context.cc
diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc
index d1e481c5aa48762bb7e56b196564c9410ce97909..ec9982134c4334116a9f84d80811272d2dbbcb58 100644
--- a/content/browser/browser_context.cc
+++ b/content/browser/browser_context.cc
@@ -211,6 +211,13 @@ fileapi::FileSystemContext* BrowserContext::GetFileSystemContext(
return partition->filesystem_context();
}
+bool BrowserContext::IsValidStoragePartitionId(
+ BrowserContext* browser_context,
+ const std::string& partition_id) {
+ return GetContentClient()->browser()->IsValidStoragePartitionId(
+ browser_context, partition_id);
+}
+
void BrowserContext::EnsureResourceContextInitialized(BrowserContext* context) {
// This will be enough to tickle initialization of BrowserContext if
// necessary, which initializes ResourceContext. The reason we don't call

Powered by Google App Engine
This is Rietveld 408576698