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

Issue 13825014: Change RulesRegistryService to use ProfileKeyedAPI. (Closed)

Created:
7 years, 8 months ago by Patrick Riordan
Modified:
7 years, 6 months ago
CC:
chromium-reviews, Aaron Boodman, sail+watch_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Change RulesRegistryService to use ProfileKeyedAPI. BUG=179951 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202751

Patch Set 1 #

Patch Set 2 : Took out incorrect OVERRIDE #

Patch Set 3 : Took out rules_registry() from TestExtensionSystem #

Total comments: 4

Patch Set 4 : Convenience method and fixed line wrapping #

Total comments: 2

Patch Set 5 : added static comment #

Total comments: 3

Patch Set 6 : Added ServiceHasOwnInstanceInIncognito switch. #

Patch Set 7 : Latest master #

Patch Set 8 : Added kServiceIsNULLWhileTesting #

Patch Set 9 : Got rid of InitForOTR in test_extension_system #

Patch Set 10 : Switch merge conflict #

Patch Set 11 : Fixed GetHostZoomMap unit_test #

Patch Set 12 : Moved functionality from InitForOTR into RulesRegistryService constructor #

Total comments: 1

Patch Set 13 : Took out comment naming tests #

Patch Set 14 : Fixed tab_helper to work properly with chrome_frame_net_tests #

Patch Set 15 : Fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -60 lines) Patch
M chrome/browser/extensions/api/declarative/declarative_api.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/api/declarative/declarative_apitest.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/api/declarative/rules_registry_service.h View 1 2 3 4 5 6 7 4 chunks +19 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/declarative/rules_registry_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +17 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_system.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +0 lines, -12 lines 0 comments Download
M chrome/browser/extensions/extension_system.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +0 lines, -21 lines 0 comments Download
M chrome/browser/extensions/tab_helper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/extensions/tab_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +5 lines, -9 lines 0 comments Download
M chrome/browser/extensions/test_extension_system.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/extensions/test_extension_system.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 33 (0 generated)
Patrick Riordan
I completely took out InitForOTR, because I couldn't find the dependency on ExtensionSystem being properly ...
7 years, 8 months ago (2013-04-25 00:40:31 UTC) #1
Devlin
https://codereview.chromium.org/13825014/diff/3002/chrome/browser/extensions/api/declarative/declarative_api.cc File chrome/browser/extensions/api/declarative/declarative_api.cc (right): https://codereview.chromium.org/13825014/diff/3002/chrome/browser/extensions/api/declarative/declarative_api.cc#newcode40 chrome/browser/extensions/api/declarative/declarative_api.cc:40: ProfileKeyedAPIFactory<RulesRegistryService>::GetForProfile(profile()); Add a convenience method in RulesRegistryService for these ...
7 years, 8 months ago (2013-04-26 01:07:09 UTC) #2
Patrick Riordan
https://codereview.chromium.org/13825014/diff/3002/chrome/browser/extensions/api/declarative/declarative_api.cc File chrome/browser/extensions/api/declarative/declarative_api.cc (right): https://codereview.chromium.org/13825014/diff/3002/chrome/browser/extensions/api/declarative/declarative_api.cc#newcode40 chrome/browser/extensions/api/declarative/declarative_api.cc:40: ProfileKeyedAPIFactory<RulesRegistryService>::GetForProfile(profile()); On 2013/04/26 01:07:09, D Cronin wrote: > Add ...
7 years, 8 months ago (2013-04-26 01:44:54 UTC) #3
Devlin
lgtm https://codereview.chromium.org/13825014/diff/17001/chrome/browser/extensions/api/declarative/rules_registry_service.cc File chrome/browser/extensions/api/declarative/rules_registry_service.cc (right): https://codereview.chromium.org/13825014/diff/17001/chrome/browser/extensions/api/declarative/rules_registry_service.cc#newcode113 chrome/browser/extensions/api/declarative/rules_registry_service.cc:113: RulesRegistryService* RulesRegistryService::Get(Profile* profile) { nit: // static
7 years, 8 months ago (2013-04-26 01:46:00 UTC) #4
Patrick Riordan
+ yoz for c/b/extensions/ + mirandac for c/b/profiles/ https://codereview.chromium.org/13825014/diff/17001/chrome/browser/extensions/api/declarative/rules_registry_service.cc File chrome/browser/extensions/api/declarative/rules_registry_service.cc (right): https://codereview.chromium.org/13825014/diff/17001/chrome/browser/extensions/api/declarative/rules_registry_service.cc#newcode113 chrome/browser/extensions/api/declarative/rules_registry_service.cc:113: RulesRegistryService* ...
7 years, 8 months ago (2013-04-26 01:53:26 UTC) #5
Yoyo Zhou
https://codereview.chromium.org/13825014/diff/24001/chrome/browser/extensions/extension_system.cc File chrome/browser/extensions/extension_system.cc (left): https://codereview.chromium.org/13825014/diff/24001/chrome/browser/extensions/extension_system.cc#oldcode366 chrome/browser/extensions/extension_system.cc:366: if (extension_service()) { extension_service() asks for the regular profile's ...
7 years, 8 months ago (2013-04-26 03:49:02 UTC) #6
Miranda Callahan
profiles/* LGTM On 2013/04/26 03:49:02, Yoyo Zhou wrote: > https://codereview.chromium.org/13825014/diff/24001/chrome/browser/extensions/extension_system.cc > File chrome/browser/extensions/extension_system.cc (left): > ...
7 years, 8 months ago (2013-04-26 09:54:57 UTC) #7
Patrick Riordan
https://codereview.chromium.org/13825014/diff/24001/chrome/browser/extensions/extension_system.h File chrome/browser/extensions/extension_system.h (left): https://codereview.chromium.org/13825014/diff/24001/chrome/browser/extensions/extension_system.h#oldcode185 chrome/browser/extensions/extension_system.h:185: OVERRIDE; // shared On 2013/04/26 03:49:02, Yoyo Zhou wrote: ...
7 years, 7 months ago (2013-05-01 01:30:34 UTC) #8
Yoyo Zhou
LGTM
7 years, 7 months ago (2013-05-01 04:28:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/patrickriordan177@gmail.com/13825014/29001
7 years, 7 months ago (2013-05-01 23:26:10 UTC) #10
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/tab_helper.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-05-01 23:26:12 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/patrickriordan177@gmail.com/13825014/44001
7 years, 7 months ago (2013-05-02 00:04:26 UTC) #12
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-02 00:40:06 UTC) #13
Yoyo Zhou
On 2013/05/02 00:40:06, I haz the power (commit-bot) wrote: > Sorry for I got bad ...
7 years, 7 months ago (2013-05-02 20:43:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/patrickriordan177@gmail.com/13825014/68001
7 years, 7 months ago (2013-05-04 20:27:16 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/patrickriordan177@gmail.com/13825014/75001
7 years, 7 months ago (2013-05-04 20:33:51 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/patrickriordan177@gmail.com/13825014/81003
7 years, 7 months ago (2013-05-04 20:53:30 UTC) #17
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=38382
7 years, 7 months ago (2013-05-04 21:39:21 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/patrickriordan177@gmail.com/13825014/93001
7 years, 7 months ago (2013-05-07 23:08:16 UTC) #19
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=112331
7 years, 7 months ago (2013-05-08 17:42:51 UTC) #20
Patrick Riordan
Yoyo, you might want to take a look at this again. It turns out that ...
7 years, 7 months ago (2013-05-09 01:05:29 UTC) #21
Yoyo Zhou
LGTM https://codereview.chromium.org/13825014/diff/120001/chrome/browser/extensions/api/declarative/rules_registry_service.cc File chrome/browser/extensions/api/declarative/rules_registry_service.cc (right): https://codereview.chromium.org/13825014/diff/120001/chrome/browser/extensions/api/declarative/rules_registry_service.cc#newcode47 chrome/browser/extensions/api/declarative/rules_registry_service.cc:47: // tests are EnterpriseLoginBlocksForEnterpriseUser and You don't have ...
7 years, 7 months ago (2013-05-09 01:08:53 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/patrickriordan177@gmail.com/13825014/126001
7 years, 7 months ago (2013-05-09 01:17:53 UTC) #23
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) chrome_frame_net_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=146090
7 years, 7 months ago (2013-05-09 08:31:18 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/patrickriordan177@gmail.com/13825014/126001
7 years, 7 months ago (2013-05-09 14:44:31 UTC) #25
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) chrome_frame_net_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=146184
7 years, 7 months ago (2013-05-09 18:38:42 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/patrickriordan177@gmail.com/13825014/157001
7 years, 7 months ago (2013-05-23 23:55:37 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/patrickriordan177@gmail.com/13825014/161001
7 years, 7 months ago (2013-05-23 23:59:05 UTC) #28
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=153283
7 years, 7 months ago (2013-05-24 02:24:57 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/patrickriordan177@gmail.com/13825014/161001
7 years, 6 months ago (2013-05-28 22:29:06 UTC) #30
commit-bot: I haz the power
Change committed as 202751
7 years, 6 months ago (2013-05-29 02:39:15 UTC) #31
Dan Beam
FYI: this was reverted here - http://crrev.com/202763 - and then I think I found the ...
7 years, 6 months ago (2013-05-29 23:18:42 UTC) #32
Dan Beam
7 years, 6 months ago (2013-05-29 23:19:01 UTC) #33
Message was sent while issue was closed.
On 2013/05/29 23:18:42, Dan Beam wrote:
> FYI: this was reverted here - http://crrev.com/202763 - and then I think I
found
> the cause - http://crre.vomc/202994 - and will attempt to unrevert for you
> now...

http://crrev.com/202994 **

Powered by Google App Engine
This is Rietveld 408576698