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

Issue 10854009: Extension white and force lists (set by policy) should have priority over auto-updated Google black… (Closed)

Created:
8 years, 4 months ago by qfel
Modified:
8 years, 4 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, sadrul, ben+watch_chromium.org, Patrick Nepper, jochen (gone - plz use gerrit), Glenn Wilson, battre, Ben Olmstead, asargent_no_longer_on_chrome, lzheng, Mattias Nissler (ping if slow), pamg
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Extension white and force lists (set by policy) should have priority over auto-updated Google blacklist. BUG=93246 TEST=unit_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152548

Patch Set 1 : #

Patch Set 2 : Fixed NULL instead of false #

Total comments: 16

Patch Set 3 : Refactored #

Total comments: 3

Patch Set 4 : Removed loop_.RunAllPending(); #

Total comments: 5

Patch Set 5 : Comment in UpdateCachedPrefs #

Patch Set 6 : Old behaviour for ExtensionPrefs::GetExtensionsFrom #

Patch Set 7 : Rebased and merged #

Unified diffs Side-by-side diffs Delta from patch set Stats (+254 lines, -229 lines) Patch
M chrome/browser/extensions/admin_policy.h View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/extensions/admin_policy.cc View 1 2 1 chunk +12 lines, -7 lines 0 comments Download
M chrome/browser/extensions/admin_policy_unittest.cc View 1 2 3 chunks +30 lines, -16 lines 0 comments Download
M chrome/browser/extensions/crx_installer.cc View 1 2 3 4 5 6 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.h View 1 2 3 4 5 6 6 chunks +8 lines, -27 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 2 3 4 5 6 10 chunks +70 lines, -119 lines 0 comments Download
M chrome/browser/extensions/extension_prefs_unittest.cc View 1 2 3 4 5 6 2 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 3 4 5 6 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 6 4 chunks +7 lines, -22 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 5 6 2 chunks +107 lines, -1 line 0 comments Download
M chrome/browser/extensions/test_extension_service.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/test_extension_service.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/protector/protected_prefs_watcher.cc View 1 2 3 4 5 6 1 chunk +3 lines, -10 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
qfel
I wonder if we should use ManagementPolicy::Provider for Google blacklist - right now it's a ...
8 years, 4 months ago (2012-08-07 12:06:56 UTC) #1
Ivan Korotkov
http://codereview.chromium.org/10854009/diff/11001/chrome/browser/protector/protected_prefs_watcher.cc File chrome/browser/protector/protected_prefs_watcher.cc (left): http://codereview.chromium.org/10854009/diff/11001/chrome/browser/protector/protected_prefs_watcher.cc#oldcode203 chrome/browser/protector/protected_prefs_watcher.cc:203: // Direct access to the extensions prefs is required ...
8 years, 4 months ago (2012-08-07 13:26:40 UTC) #2
qfel
http://codereview.chromium.org/10854009/diff/11001/chrome/browser/protector/protected_prefs_watcher.cc File chrome/browser/protector/protected_prefs_watcher.cc (left): http://codereview.chromium.org/10854009/diff/11001/chrome/browser/protector/protected_prefs_watcher.cc#oldcode203 chrome/browser/protector/protected_prefs_watcher.cc:203: // Direct access to the extensions prefs is required ...
8 years, 4 months ago (2012-08-07 13:43:51 UTC) #3
Ivan Korotkov
Right, my mistake. protector/ LGTM. Please leave the comment, though. Also, please ensure that protector.py ...
8 years, 4 months ago (2012-08-07 14:20:47 UTC) #4
Matt Perry
lgtm http://codereview.chromium.org/10854009/diff/11001/chrome/browser/extensions/extension_prefs.h File chrome/browser/extensions/extension_prefs.h (right): http://codereview.chromium.org/10854009/diff/11001/chrome/browser/extensions/extension_prefs.h#newcode178 chrome/browser/extensions/extension_prefs.h:178: static bool IsExtensionBlacklisted(const std::string& extension_id, static methods should ...
8 years, 4 months ago (2012-08-07 19:50:04 UTC) #5
Mattias Nissler (ping if slow)
http://codereview.chromium.org/10854009/diff/11001/chrome/browser/extensions/extension_prefs.cc File chrome/browser/extensions/extension_prefs.cc (right): http://codereview.chromium.org/10854009/diff/11001/chrome/browser/extensions/extension_prefs.cc#newcode286 chrome/browser/extensions/extension_prefs.cc:286: const std::string& pref_key, int* out_value) { all parameters on ...
8 years, 4 months ago (2012-08-08 08:08:37 UTC) #6
qfel
http://codereview.chromium.org/10854009/diff/11001/chrome/browser/extensions/extension_prefs.cc File chrome/browser/extensions/extension_prefs.cc (right): http://codereview.chromium.org/10854009/diff/11001/chrome/browser/extensions/extension_prefs.cc#newcode286 chrome/browser/extensions/extension_prefs.cc:286: const std::string& pref_key, int* out_value) { On 2012/08/08 08:08:37, ...
8 years, 4 months ago (2012-08-13 16:03:01 UTC) #7
Mattias Nissler (ping if slow)
I like this version much better, LGTM from my side. Matt, can you take another ...
8 years, 4 months ago (2012-08-13 16:54:53 UTC) #8
qfel
http://codereview.chromium.org/10854009/diff/2020/chrome/browser/extensions/extension_prefs.cc File chrome/browser/extensions/extension_prefs.cc (right): http://codereview.chromium.org/10854009/diff/2020/chrome/browser/extensions/extension_prefs.cc#newcode1774 chrome/browser/extensions/extension_prefs.cc:1774: result.push_back(*it); Now it returns Google-blacklisted extensions too. IMO that ...
8 years, 4 months ago (2012-08-14 13:03:13 UTC) #9
Mattias Nissler (ping if slow)
Matt, can you answer the question inline? http://codereview.chromium.org/10854009/diff/2020/chrome/browser/extensions/extension_prefs.cc File chrome/browser/extensions/extension_prefs.cc (right): http://codereview.chromium.org/10854009/diff/2020/chrome/browser/extensions/extension_prefs.cc#newcode1774 chrome/browser/extensions/extension_prefs.cc:1774: result.push_back(*it); Btw, ...
8 years, 4 months ago (2012-08-14 14:12:30 UTC) #10
Matt Perry
lgtm http://codereview.chromium.org/10854009/diff/2020/chrome/browser/extensions/extension_prefs.cc File chrome/browser/extensions/extension_prefs.cc (right): http://codereview.chromium.org/10854009/diff/2020/chrome/browser/extensions/extension_prefs.cc#newcode1774 chrome/browser/extensions/extension_prefs.cc:1774: result.push_back(*it); On 2012/08/14 14:12:31, Mattias Nissler wrote: > ...
8 years, 4 months ago (2012-08-15 21:17:07 UTC) #11
qfel
On 2012/08/07 14:20:47, Ivan Korotkov wrote: > Right, my mistake. protector/ LGTM. > Please leave ...
8 years, 4 months ago (2012-08-16 09:33:34 UTC) #12
Ivan Korotkov
As discussed in chat, let's restore the original behaviour of GetExtensionsFrom as ProtectedPrefsWatcher is its ...
8 years, 4 months ago (2012-08-17 14:54:42 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qfel@google.com/10854009/14020
8 years, 4 months ago (2012-08-20 14:40:07 UTC) #14
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/extension_prefs.cc: While running patch -p1 --forward --force; patching file chrome/browser/extensions/extension_prefs.cc ...
8 years, 4 months ago (2012-08-20 14:40:12 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qfel@google.com/10854009/24
8 years, 4 months ago (2012-08-21 08:05:08 UTC) #16
commit-bot: I haz the power
Try job failure for 10854009-24 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-21 08:58:43 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qfel@google.com/10854009/24
8 years, 4 months ago (2012-08-21 11:04:50 UTC) #18
commit-bot: I haz the power
8 years, 4 months ago (2012-08-21 12:40:44 UTC) #19
Change committed as 152548

Powered by Google App Engine
This is Rietveld 408576698