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

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: attempt to fix unittsets. 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
« no previous file with comments | « content/browser/storage_partition_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index 2acf4005eb33556610d2729c6167c50568232e7c..8eb2830c147170ae866467e6f6569d383581c212 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -65,8 +65,13 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
static fileapi::FileSystemContext* GetFileSystemContext(
BrowserContext* browser_context);
- static content::StoragePartition* GetStoragePartition(
- BrowserContext* browser_context, SiteInstance* site_instance);
+ static bool IsValidPartitionId(BrowserContext* browser_context,
+ const std::string& partition_id);
+ static StoragePartition* GetStoragePartition(BrowserContext* browser_context,
+ SiteInstance* site_instance);
+ static StoragePartition* GetStoragePartitionById(
+ BrowserContext* browser_context,
+ const std::string& partition_id);
static void ForEachStoragePartition(
BrowserContext* browser_context,
const StoragePartitionCallback& callback);
« no previous file with comments | « content/browser/storage_partition_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698