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

Issue 10828316: Support multiple disable reasons in ExtensionPerfs (Closed)

Created:
8 years, 4 months ago by eaugusti
Modified:
8 years, 4 months ago
Reviewers:
Yoyo Zhou
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Support multiple disable reasons in ExtensionPerfs Use a bitmask to represent all the reasons an extension is disabled. Switch to a new key in ExtensionPrefs for the bitmask. When we init ExtensionPrefs, check for the old key, migrate the reason over to the new key, and delete the old key. BUG=142762 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151785

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -36 lines) Patch
M chrome/browser/extensions/extension_disabled_ui_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.h View 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 2 4 chunks +59 lines, -13 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 6 chunks +12 lines, -12 lines 0 comments Download
M chrome/common/extensions/extension.h View 1 chunk +12 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Yoyo Zhou
https://chromiumcodereview.appspot.com/10828316/diff/2001/chrome/browser/extensions/extension_prefs.cc File chrome/browser/extensions/extension_prefs.cc (right): https://chromiumcodereview.appspot.com/10828316/diff/2001/chrome/browser/extensions/extension_prefs.cc#newcode726 chrome/browser/extensions/extension_prefs.cc:726: Value::CreateIntegerValue(new_value)); This will still store a 0 when there ...
8 years, 4 months ago (2012-08-15 00:21:31 UTC) #1
eaugusti
https://chromiumcodereview.appspot.com/10828316/diff/2001/chrome/browser/extensions/extension_prefs.cc File chrome/browser/extensions/extension_prefs.cc (right): https://chromiumcodereview.appspot.com/10828316/diff/2001/chrome/browser/extensions/extension_prefs.cc#newcode726 chrome/browser/extensions/extension_prefs.cc:726: Value::CreateIntegerValue(new_value)); On 2012/08/15 00:21:31, Yoyo Zhou wrote: > This ...
8 years, 4 months ago (2012-08-15 00:48:50 UTC) #2
Yoyo Zhou
LGTM https://chromiumcodereview.appspot.com/10828316/diff/7001/chrome/browser/extensions/extension_prefs.cc File chrome/browser/extensions/extension_prefs.cc (right): https://chromiumcodereview.appspot.com/10828316/diff/7001/chrome/browser/extensions/extension_prefs.cc#newcode725 chrome/browser/extensions/extension_prefs.cc:725: if (new_value == 0) { Change 0 to ...
8 years, 4 months ago (2012-08-15 00:58:09 UTC) #3
eaugusti
https://chromiumcodereview.appspot.com/10828316/diff/7001/chrome/browser/extensions/extension_prefs.cc File chrome/browser/extensions/extension_prefs.cc (right): https://chromiumcodereview.appspot.com/10828316/diff/7001/chrome/browser/extensions/extension_prefs.cc#newcode725 chrome/browser/extensions/extension_prefs.cc:725: if (new_value == 0) { On 2012/08/15 00:58:09, Yoyo ...
8 years, 4 months ago (2012-08-15 17:36:11 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eaugusti@chromium.org/10828316/8006
8 years, 4 months ago (2012-08-15 17:36:24 UTC) #5
commit-bot: I haz the power
Try job failure for 10828316-8006 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-15 18:26:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eaugusti@chromium.org/10828316/8006
8 years, 4 months ago (2012-08-15 20:54:31 UTC) #7
commit-bot: I haz the power
8 years, 4 months ago (2012-08-15 23:33:31 UTC) #8
Change committed as 151785

Powered by Google App Engine
This is Rietveld 408576698