| Index: content/public/browser/content_browser_client.h
|
| diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
|
| index f5e684979b879e2c627956011e3d03c741494e40..93371748343b950001738033f271680a0685d483 100644
|
| --- a/content/public/browser/content_browser_client.h
|
| +++ b/content/public/browser/content_browser_client.h
|
| @@ -274,6 +274,21 @@ class CONTENT_EXPORT ContentBrowserClient {
|
| content::BrowserContext* browser_context,
|
| int child_process_id);
|
|
|
| + // Same as GetStoragePartitionIdForChildProcess(), but uses a SiteInstance
|
| + // instead.
|
| + //
|
| + // TODO(ajwong): Replace all uses of GetStoragePartitionIdForChildProcess()
|
| + // with this one.
|
| + virtual std::string GetStoragePartitionIdForSiteInstance(
|
| + content::BrowserContext* browser_context,
|
| + content::SiteInstance* instance);
|
| +
|
| + // Allows the embedder to provide a validation check for |partition_id|s.
|
| + // This domain of valid entries should match the range of outputs for
|
| + // GetStoragePartitionIdForChildProcess().
|
| + virtual bool IsValidStoragePartitionId(BrowserContext* browser_context,
|
| + const std::string& partition_id);
|
| +
|
| // Create and return a new quota permission context.
|
| virtual QuotaPermissionContext* CreateQuotaPermissionContext();
|
|
|
|
|