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

Unified Diff: chrome/browser/extensions/api/declarative/rules_registry_service.h

Issue 10831008: Refactor and fix declarative webRequest API permissions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 8 years, 5 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: chrome/browser/extensions/api/declarative/rules_registry_service.h
diff --git a/chrome/browser/extensions/api/declarative/rules_registry_service.h b/chrome/browser/extensions/api/declarative/rules_registry_service.h
index db0485b2f8262bfc1c7c1b2753ec48811dfba90b..eafdc2f3c248d544604649525e4bfff519c611b8 100644
--- a/chrome/browser/extensions/api/declarative/rules_registry_service.h
+++ b/chrome/browser/extensions/api/declarative/rules_registry_service.h
@@ -38,8 +38,10 @@ class RulesRegistryService : public content::NotificationObserver {
// created by us so that the RulesRegistries can be released.
void Shutdown();
- // Registers the default RulesRegistries used in Chromium.
- void RegisterDefaultRulesRegistries();
+ // Registers the default RulesRegistries used in Chromium. |incognito|
+ // specifies whether this RulesRegistryService is associated with an incognito
+ // profile.
+ void RegisterDefaultRulesRegistries(bool incognito);
// Registers a RulesRegistry and wraps it in an InitializingRulesRegistry.
void RegisterRulesRegistry(const std::string& event_name,

Powered by Google App Engine
This is Rietveld 408576698