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

Issue 9718028: Allow autoupdate to update disabled extensions. (Closed)

Created:
8 years, 9 months ago by Matt Tytel
Modified:
8 years, 9 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Allow autoupdate to update disabled extensions. BUG=26834 TEST=ExtensionUpdaterTest.TestNonAutoUpdateableLocations Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=129365

Patch Set 1 #

Total comments: 6

Patch Set 2 : Review fixes and added tests. #

Total comments: 11

Patch Set 3 : Made some changes to tests and fixed nits. #

Patch Set 4 : Added a single comment for a test. #

Patch Set 5 : Synced #

Patch Set 6 : Compilation fixes. #

Patch Set 7 : Synced #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -24 lines) Patch
M chrome/browser/extensions/extension_management_browsertest.cc View 1 2 3 4 5 1 chunk +57 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/test_extension_service.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/test_extension_service.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/extensions/updater/extension_updater.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/updater/extension_updater.cc View 1 2 3 chunks +22 lines, -19 lines 0 comments Download
M chrome/browser/extensions/updater/extension_updater_unittest.cc View 1 2 3 4 chunks +57 lines, -4 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Matt Tytel
8 years, 9 months ago (2012-03-19 23:14:50 UTC) #1
Matt Tytel
You mentioned in the issue that we need to test flags like "this item was ...
8 years, 9 months ago (2012-03-19 23:17:29 UTC) #2
USE_CHROMIUM_ACCT_INSTEAD
The permissions escalation bit gets set in ExtensionPrefs::SetDidExtensionEscalatePermissions : http://goo.gl/Z0B7C The general approach for testing ...
8 years, 9 months ago (2012-03-19 23:47:25 UTC) #3
asargent_no_longer_on_chrome
https://chromiumcodereview.appspot.com/9718028/diff/1/chrome/browser/extensions/updater/extension_updater.h File chrome/browser/extensions/updater/extension_updater.h (right): https://chromiumcodereview.appspot.com/9718028/diff/1/chrome/browser/extensions/updater/extension_updater.h#newcode22 chrome/browser/extensions/updater/extension_updater.h:22: #include "chrome/common/extensions/extension_set.h" Can you just forward declare ExtensionSet and ...
8 years, 9 months ago (2012-03-20 00:24:01 UTC) #4
Matt Tytel
Man, I was a bit sloppy on that first CL. Fixed the issues and added ...
8 years, 9 months ago (2012-03-20 20:34:28 UTC) #5
Matt Tytel
https://chromiumcodereview.appspot.com/9718028/diff/7001/chrome/browser/extensions/extension_management_browsertest.cc File chrome/browser/extensions/extension_management_browsertest.cc (right): https://chromiumcodereview.appspot.com/9718028/diff/7001/chrome/browser/extensions/extension_management_browsertest.cc#newcode368 chrome/browser/extensions/extension_management_browsertest.cc:368: IN_PROC_BROWSER_TEST_F(ExtensionManagementTest, AutoUpdateDisabledExtensions) { There is some overlap with the ...
8 years, 9 months ago (2012-03-20 20:36:37 UTC) #6
Matt Tytel
I meant the above *test, not the above extension.
8 years, 9 months ago (2012-03-20 23:02:30 UTC) #7
asargent_no_longer_on_chrome
Getting close - a few fixes needed for tests and one or two nits. https://chromiumcodereview.appspot.com/9718028/diff/7001/chrome/browser/extensions/extension_management_browsertest.cc ...
8 years, 9 months ago (2012-03-21 18:47:31 UTC) #8
Matt Tytel
https://chromiumcodereview.appspot.com/9718028/diff/7001/chrome/browser/extensions/extension_management_browsertest.cc File chrome/browser/extensions/extension_management_browsertest.cc (right): https://chromiumcodereview.appspot.com/9718028/diff/7001/chrome/browser/extensions/extension_management_browsertest.cc#newcode391 chrome/browser/extensions/extension_management_browsertest.cc:391: ASSERT_EQ(enabled_size_before, service->extensions()->size()); I create it, then disable it. So ...
8 years, 9 months ago (2012-03-26 05:23:59 UTC) #9
asargent_no_longer_on_chrome
LGTM! https://chromiumcodereview.appspot.com/9718028/diff/7001/chrome/browser/extensions/extension_management_browsertest.cc File chrome/browser/extensions/extension_management_browsertest.cc (right): https://chromiumcodereview.appspot.com/9718028/diff/7001/chrome/browser/extensions/extension_management_browsertest.cc#newcode411 chrome/browser/extensions/extension_management_browsertest.cc:411: ASSERT_FALSE(listener2.was_satisfied()); On 2012/03/26 05:23:59, Matt Tytel wrote: > ...
8 years, 9 months ago (2012-03-27 00:35:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtytel@chromium.org/9718028/21003
8 years, 9 months ago (2012-03-27 00:39:46 UTC) #11
commit-bot: I haz the power
Try job failure for 9718028-21003 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 9 months ago (2012-03-27 01:02:43 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtytel@chromium.org/9718028/21005
8 years, 9 months ago (2012-03-27 01:28:30 UTC) #13
commit-bot: I haz the power
Try job failure for 9718028-21005 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 9 months ago (2012-03-27 03:43:19 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtytel@chromium.org/9718028/29001
8 years, 9 months ago (2012-03-28 01:20:14 UTC) #15
commit-bot: I haz the power
8 years, 9 months ago (2012-03-28 04:06:14 UTC) #16
Change committed as 129365

Powered by Google App Engine
This is Rietveld 408576698