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

Issue 8202011: Notify users about certain changes in installed extensions. (Closed)

Created:
9 years, 2 months ago by miket_OOO
Modified:
9 years, 2 months ago
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, mihaip+watch_chromium.org, Paweł Hajdan Jr., jstritar
Visibility:
Public.

Description

Notify users about certain changes in installed extensions. This is an interim checkin. The added code is unreachable. Remaining: - Implement concept of orphaned extensions. Currently hardcoded false. - Once GlobalError's view supports DOMView, enhance to allow selective disabling of extensions. - Add unit test for ExtensionGlobalError (though there isn't much to test). - Get real UI layout and text. Currently placeholder text. - Bug: extensions page opens in new window, not new tab. - Bug: once we've determined that an alert needs to be displayed, the alert doesn't actually display until the next window open. We ought to add a different trigger. This might be a systemwide decision, so I'd like sail's input. BUG=94494 TEST=enhanced ExtensionPref unit tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104782

Patch Set 1 #

Total comments: 10

Patch Set 2 : Changes based on asargent's review #

Total comments: 1

Patch Set 3 : Change #if false to #if 0 for win compiler. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+533 lines, -7 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +23 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_global_error.h View 1 1 chunk +95 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_global_error.cc View 1 1 chunk +145 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.h View 1 1 chunk +23 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 2 chunks +57 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_prefs_unittest.cc View 1 chunk +76 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 4 chunks +89 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extensions_startup.cc View 1 chunk +2 lines, -6 lines 0 comments Download
M chrome/browser/profiles/profile.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
miket_OOO
asargent: general review. sail: please confirm proper usage of GlobalError. jstritar: FYI; just making sure ...
9 years, 2 months ago (2011-10-07 18:38:03 UTC) #1
asargent_no_longer_on_chrome
LGTM with some nits and optional suggestions http://codereview.chromium.org/8202011/diff/1/chrome/browser/extensions/extension_global_error.cc File chrome/browser/extensions/extension_global_error.cc (right): http://codereview.chromium.org/8202011/diff/1/chrome/browser/extensions/extension_global_error.cc#newcode51 chrome/browser/extensions/extension_global_error.cc:51: } Simple ...
9 years, 2 months ago (2011-10-07 21:25:34 UTC) #2
miket_OOO
Patch uploaded, changes made. WeakPtr makes me feel good! http://codereview.chromium.org/8202011/diff/1/chrome/browser/extensions/extension_global_error.h File chrome/browser/extensions/extension_global_error.h (right): http://codereview.chromium.org/8202011/diff/1/chrome/browser/extensions/extension_global_error.h#newcode21 chrome/browser/extensions/extension_global_error.h:21: ...
9 years, 2 months ago (2011-10-07 22:38:22 UTC) #3
sail
lgtm http://codereview.chromium.org/8202011/diff/15/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): http://codereview.chromium.org/8202011/diff/15/chrome/browser/extensions/extension_service.cc#newcode2196 chrome/browser/extensions/extension_service.cc:2196: GlobalErrorServiceFactory::GetForProfile(profile_)->AddGlobalError( If you'd like to show the error ...
9 years, 2 months ago (2011-10-10 17:23:31 UTC) #4
commit-bot: I haz the power
CQ is trying the patch. Follow status at https://chromium-status.appspot.com/cq/miket@chromium.org/8202011/8002
9 years, 2 months ago (2011-10-10 19:35:04 UTC) #5
commit-bot: I haz the power
9 years, 2 months ago (2011-10-10 21:09:18 UTC) #6
Change committed as 104782

Powered by Google App Engine
This is Rietveld 408576698