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

Unified Diff: extensions/browser/extension_util.h

Issue 2881453002: DNR Prototype: With flatbuffers
Patch Set: -- Created 3 years, 6 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_system.h ('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 274c1a7e1ec83bffa85e42500cb23e6456c53560..3734bd69fbb5a0f6b415ea6819ec10dc2ef67fd6 100644
--- a/extensions/browser/extension_util.h
+++ b/extensions/browser/extension_util.h
@@ -48,6 +48,11 @@ content::StoragePartition* GetStoragePartitionForExtensionId(
const std::string& extension_id,
content::BrowserContext* browser_context);
+// Returns true if the |extension| has an indexed ruleset on disk for the
+// declarativeNetRequest API.
+// TODO should this be in e/b/api/dnr?
+bool HasIndexedRuleset(const Extension* extension);
+
} // namespace util
} // namespace extensions
« no previous file with comments | « extensions/browser/extension_system.h ('k') | extensions/browser/extension_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698