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

Issue 53273002: Decouple RulesCacheDelegate from RulesRegistry (Closed)

Created:
7 years, 1 month ago by Fady Samuel
Modified:
7 years, 1 month ago
Reviewers:
Jeffrey Yasskin
CC:
chromium-reviews, joi+watch-content_chromium.org, chromium-apps-reviews_chromium.org, darin-cc_chromium.org, jam, extensions-reviews_chromium.org, vabr (Chromium)
Base URL:
https://chromium.googlesource.com/chromium/src.git@refactor_rules_registry_with_cache
Visibility:
Public.

Description

Decouple RulesCacheDelegate from RulesRegistry This is a prerequisite for declarative API support in <webview>. <webview>s should not cache their rules. BUG=312461 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232651

Patch Set 1 #

Patch Set 2 : Merge with ToT #

Total comments: 14

Patch Set 3 : Addressed comments #

Patch Set 4 : A little bit more cleanup #

Patch Set 5 : Fix crash #

Patch Set 6 : Fixed tests #

Patch Set 7 : Updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -133 lines) Patch
M chrome/browser/extensions/api/declarative/rules_cache_delegate.h View 1 2 3 4 5 6 5 chunks +10 lines, -18 lines 0 comments Download
M chrome/browser/extensions/api/declarative/rules_cache_delegate.cc View 1 2 3 4 5 6 6 chunks +24 lines, -19 lines 0 comments Download
M chrome/browser/extensions/api/declarative/rules_registry.h View 1 2 3 4 5 6 6 chunks +13 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/declarative/rules_registry.cc View 1 2 3 4 5 6 3 chunks +16 lines, -25 lines 0 comments Download
M chrome/browser/extensions/api/declarative/rules_registry_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/declarative/rules_registry_service.cc View 1 2 3 4 5 6 2 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc View 1 2 3 4 5 6 3 chunks +33 lines, -26 lines 0 comments Download
M chrome/browser/extensions/api/declarative/test_rules_registry.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/declarative/test_rules_registry.cc View 1 2 3 4 5 6 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/declarative_content/content_rules_registry.h View 1 2 3 4 5 6 2 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/extensions/api/declarative_content/content_rules_registry.cc View 1 2 3 4 5 6 6 chunks +10 lines, -13 lines 0 comments Download
M chrome/browser/extensions/api/declarative_content/content_rules_registry_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc View 1 2 3 4 5 6 1 chunk +5 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
Fady Samuel
7 years, 1 month ago (2013-10-31 20:42:12 UTC) #1
Jeffrey Yasskin
lgtm, with a couple tweaks and things to think about below. https://codereview.chromium.org/53273002/diff/30001/chrome/browser/extensions/api/declarative/rules_cache_delegate.cc File chrome/browser/extensions/api/declarative/rules_cache_delegate.cc (right): ...
7 years, 1 month ago (2013-11-01 00:15:09 UTC) #2
Fady Samuel
I've addressed the comments you provided for this patch. At least two more patches are ...
7 years, 1 month ago (2013-11-01 15:13:38 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/53273002/120001
7 years, 1 month ago (2013-11-01 15:15:02 UTC) #4
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=183607
7 years, 1 month ago (2013-11-01 16:18:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/53273002/380001
7 years, 1 month ago (2013-11-01 18:00:49 UTC) #6
commit-bot: I haz the power
Failed to trigger a try job on linux_aura HTTP Error 400: Bad Request
7 years, 1 month ago (2013-11-01 19:45:34 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/53273002/600001
7 years, 1 month ago (2013-11-01 19:48:07 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=92926
7 years, 1 month ago (2013-11-01 22:09:28 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/53273002/820001
7 years, 1 month ago (2013-11-01 22:14:07 UTC) #10
commit-bot: I haz the power
Failed to trigger a try job on win_rel HTTP Error 400: Bad Request
7 years, 1 month ago (2013-11-01 23:10:23 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/53273002/930001
7 years, 1 month ago (2013-11-01 23:12:12 UTC) #12
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=217947
7 years, 1 month ago (2013-11-02 03:41:36 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/53273002/930001
7 years, 1 month ago (2013-11-02 06:39:54 UTC) #14
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=218064
7 years, 1 month ago (2013-11-02 08:55:06 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/53273002/930001
7 years, 1 month ago (2013-11-02 21:23:19 UTC) #16
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 1 month ago (2013-11-03 01:00:44 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/53273002/930001
7 years, 1 month ago (2013-11-03 01:46:02 UTC) #18
commit-bot: I haz the power
7 years, 1 month ago (2013-11-03 03:53:48 UTC) #19
Message was sent while issue was closed.
Change committed as 232651

Powered by Google App Engine
This is Rietveld 408576698