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

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

Issue 28273006: <webview>: Implement declarativeWebRequest API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reupload Created 7 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
Index: chrome/browser/extensions/api/declarative/rules_registry_with_cache.h
diff --git a/chrome/browser/extensions/api/declarative/rules_registry_with_cache.h b/chrome/browser/extensions/api/declarative/rules_registry_with_cache.h
index fd88cd70a45b48f405273444d456578f89037b18..4f5a13d9d206072073e826d2658917e6d94fcac3 100644
--- a/chrome/browser/extensions/api/declarative/rules_registry_with_cache.h
+++ b/chrome/browser/extensions/api/declarative/rules_registry_with_cache.h
@@ -50,7 +50,8 @@ class RulesRegistryWithCache : public RulesRegistry {
const std::string& event_name,
content::BrowserThread::ID rules_registry_thread,
base::WeakPtr<RulesRegistryWithCache> registry,
- bool log_storage_init_delay);
+ bool log_storage_init_delay,
+ const WebViewKey& webview_key);
virtual ~RuleStorageOnUI();
@@ -58,7 +59,8 @@ class RulesRegistryWithCache : public RulesRegistry {
// indicating whether there are some declarative rules stored in the rule
// store.
static std::string GetRulesStoredKey(const std::string& event_name,
- bool incognito);
+ bool incognito,
+ const WebViewKey& webview_key);
// Initialize the storage functionality.
void Init();
@@ -148,7 +150,8 @@ class RulesRegistryWithCache : public RulesRegistry {
const std::string& event_name,
content::BrowserThread::ID owner_thread,
bool log_storage_init_delay,
- scoped_ptr<RuleStorageOnUI>* ui_part);
+ scoped_ptr<RuleStorageOnUI>* ui_part,
+ const WebViewKey& webview_key);
const OneShotEvent& ready() const {
return ready_;

Powered by Google App Engine
This is Rietveld 408576698