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

Unified Diff: extensions/browser/extension_util.h

Issue 2166523003: Add ref count to service workers for extension API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync@tott Created 4 years, 2 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 | « extensions/browser/extension_service_worker_message_filter.cc ('k') | extensions/browser/extension_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_util.h
diff --git a/extensions/browser/extension_util.h b/extensions/browser/extension_util.h
index cdd4218ad14be242f26dc0ff866b0640bb9e7786..b3e823350c4a74fa61713054ff92868ebdc73bda 100644
--- a/extensions/browser/extension_util.h
+++ b/extensions/browser/extension_util.h
@@ -11,6 +11,7 @@ class GURL;
namespace content {
class BrowserContext;
+class StoragePartition;
}
namespace extensions {
@@ -34,6 +35,10 @@ bool SiteHasIsolatedStorage(const GURL& extension_site_url,
// Returns true if the extension can be enabled in incognito mode.
bool CanBeIncognitoEnabled(const Extension* extension);
+content::StoragePartition* GetStoragePartitionForExtensionId(
+ const std::string& extension_id,
+ content::BrowserContext* browser_context);
+
} // namespace util
} // namespace extensions
« no previous file with comments | « extensions/browser/extension_service_worker_message_filter.cc ('k') | extensions/browser/extension_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698