|
Refactor RulesRegistryWithCache to RulesRegistry
As a prerequisites to isolating declarative RulesRegistry on a per-webview basis, we need to do some cleanup.
1. Get rid of the abstract class RulesRegistry, RulesRegistryWithCache becomes RulesRegistry. The caching component becomes an optional delegate.
2. Get rid of InitializingRulesRegistry. Move that functionality down into RulesRegistry.
This CL accomplishes the above but the RulesCacheDelegate is always installed. It will become optional in a subsequent CL.
BUG= 312461
R=jyasskin@chromium.org, vabr@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232124
Total comments: 9
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+468 lines, -1678 lines) |
Patch |
 |
D |
chrome/browser/extensions/api/declarative/initializing_rules_registry.h
|
View
|
1
|
1 chunk |
+0 lines, -91 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/api/declarative/initializing_rules_registry.cc
|
View
|
1
|
1 chunk |
+0 lines, -161 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative/initializing_rules_registry_unittest.cc
|
View
|
1
2
|
11 chunks |
+14 lines, -16 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/extensions/api/declarative/rules_cache_delegate.h
|
View
|
1
2
3
|
1 chunk |
+100 lines, -86 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/extensions/api/declarative/rules_cache_delegate.cc
|
View
|
1
2
3
|
12 chunks |
+34 lines, -272 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative/rules_registry.h
|
View
|
1
2
3
4
|
6 chunks |
+155 lines, -24 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/extensions/api/declarative/rules_registry.cc
|
View
|
1
2
3
4
|
13 chunks |
+102 lines, -232 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative/rules_registry_service.h
|
View
|
1
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative/rules_registry_service.cc
|
View
|
1
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative/rules_registry_with_cache.h
|
View
|
1
|
1 chunk |
+0 lines, -246 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative/rules_registry_with_cache.cc
|
View
|
1
|
1 chunk |
+0 lines, -484 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc
|
View
|
1
2
|
6 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative/test_rules_registry.h
|
View
|
1
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative/test_rules_registry.cc
|
View
|
1
|
1 chunk |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative_content/content_rules_registry.h
|
View
|
1
|
3 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative_content/content_rules_registry.cc
|
View
|
1
2
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h
|
View
|
1
|
3 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc
|
View
|
1
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_extensions.gypi
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|