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

Issue 199018: Add a disable button to the Extension management UI. (Closed)

Created:
11 years, 3 months ago by Matt Perry
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add a disable button to the Extension management UI. TEST=Try installing and/or loading some extensions, and toggling between enable and disable in the management UI (chrome://extensions). BUG=12122 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25659

Patch Set 1 #

Total comments: 4

Patch Set 2 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -12 lines) Patch
M chrome/browser/browser_resources.grd View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_browsertests_misc.cc View 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extensions_service.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extensions_service.cc View 2 chunks +31 lines, -1 line 0 comments Download
M chrome/browser/extensions/extensions_ui.cc View 2 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/resources/extensions_ui.html View 2 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Matt Perry
11 years, 3 months ago (2009-09-03 23:54:04 UTC) #1
Erik does not do reviews
LGTM http://codereview.chromium.org/199018/diff/1/5 File chrome/browser/extensions/extensions_service.h (right): http://codereview.chromium.org/199018/diff/1/5#newcode134 Line 134: // TODO(mpcomplete): add DisableExtension. remove TODO and ...
11 years, 3 months ago (2009-09-04 00:05:36 UTC) #2
Matt Perry
http://codereview.chromium.org/199018/diff/1/5 File chrome/browser/extensions/extensions_service.h (right): http://codereview.chromium.org/199018/diff/1/5#newcode134 Line 134: // TODO(mpcomplete): add DisableExtension. On 2009/09/04 00:05:36, Erik ...
11 years, 3 months ago (2009-09-04 00:12:51 UTC) #3
Erik does not do reviews
11 years, 3 months ago (2009-09-04 00:32:55 UTC) #4
On Thu, Sep 3, 2009 at 5:12 PM, <mpcomplete@chromium.org> wrote:
>
> http://codereview.chromium.org/199018/diff/1/5
> File chrome/browser/extensions/extensions_service.h (right):
>
> http://codereview.chromium.org/199018/diff/1/5#newcode134
> Line 134: // TODO(mpcomplete): add DisableExtension.
> On 2009/09/04 00:05:36, Erik Kay wrote:
>>
>> remove TODO and update the rest of the comment.
>
> Done.
>
> http://codereview.chromium.org/199018/diff/1/6
> File chrome/browser/extensions/extensions_ui.cc (right):
>
> http://codereview.chromium.org/199018/diff/1/6#newcode169
> Line 169: CHECK(list->GetSize() == 2);
> On 2009/09/04 00:05:36, Erik Kay wrote:
>>
>> I know this isn't really an issue with this particular change, but
>
> shouldn't the
>>
>> reaction to bad arguments be to kill the renderer rather than killing
>
> the
>>
>> browser process?
>
> Yeah. I think in this case, the renderer is displaying chrome-generated
> content (the management UI), so it's a development-time assertion.

If it's meant to be development time only, then it could just be a
DCHECK.  I was assuming we were using CHECK for some security reason
on top of that.

Erik

Powered by Google App Engine
This is Rietveld 408576698