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

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

Issue 14851011: RulesRegistryWithCache::ProcessChangedRules speed-up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing the uninitialised WeakPtrFactory Created 7 years, 7 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 | « no previous file | chrome/browser/extensions/api/declarative/rules_registry_with_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bc8010e06d95bf98db1140ad38aa2d9adcde12dd..ff8318831d6c2a8745a3c70f9c47b4df0a23f31c 100644
--- a/chrome/browser/extensions/api/declarative/rules_registry_with_cache.h
+++ b/chrome/browser/extensions/api/declarative/rules_registry_with_cache.h
@@ -187,6 +187,10 @@ class RulesRegistryWithCache : public RulesRegistry {
// safe. The registry only ever associates with one RuleStorageOnUI instance.
const base::WeakPtr<RuleStorageOnUI> storage_on_ui_;
+ // If true then a task to call ProcessChangedRules is scheduled for execution
+ // in the future.
+ bool process_changed_rules_requested_;
+
DISALLOW_COPY_AND_ASSIGN(RulesRegistryWithCache);
};
« no previous file with comments | « no previous file | chrome/browser/extensions/api/declarative/rules_registry_with_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698