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

Issue 1695018: Adding ExtensionPrefs methods for storing update-when-idle data.... (Closed)

Created:
10 years, 8 months ago by asargent_no_longer_on_chrome
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Adding ExtensionPrefs methods for storing update-when-idle data. This includes adding a few methods to ExtensionPrefs that I'm going to need to use inside ExtensionUpdater for implementing the "do updates at idle" feature. Instead of adding more call-through stubs to the interface that ExtensionsService providers to the ExtensionUpdater, I instead decided it was time to do some refactoring to expose a ExtensionPrefs getter in the interface. TEST=(Should be covered by unit/browser tests) BUG=37971 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=45738

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 9

Patch Set 5 : '' #

Total comments: 20

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+459 lines, -236 lines) Patch
M chrome/browser/extensions/extension_prefs.h View 2 chunks +22 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 2 3 4 5 3 chunks +105 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_prefs_unittest.cc View 1 2 3 4 5 10 chunks +131 lines, -71 lines 0 comments Download
M chrome/browser/extensions/extension_updater.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_updater.cc View 1 2 3 4 5 7 chunks +10 lines, -22 lines 0 comments Download
M chrome/browser/extensions/extension_updater_unittest.cc View 1 2 3 4 21 chunks +62 lines, -105 lines 0 comments Download
M chrome/browser/extensions/extensions_service.h View 2 chunks +1 line, -15 lines 0 comments Download
M chrome/browser/extensions/extensions_service.cc View 1 chunk +0 lines, -18 lines 0 comments Download
A chrome/browser/extensions/test_extension_prefs.h View 2 3 4 1 chunk +57 lines, -0 lines 0 comments Download
A chrome/browser/extensions/test_extension_prefs.cc View 2 3 4 5 1 chunk +69 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
asargent_no_longer_on_chrome
http://codereview.chromium.org/1695018/diff/26001/13011 File chrome/browser/extensions/extension_updater.cc (left): http://codereview.chromium.org/1695018/diff/26001/13011#oldcode316 chrome/browser/extensions/extension_updater.cc:316: } cleanup - removing a function that was no ...
10 years, 8 months ago (2010-04-27 00:35:16 UTC) #1
Paweł Hajdan Jr.
Drive-by with some test comments. http://codereview.chromium.org/1695018/diff/26001/13012 File chrome/browser/extensions/extension_updater_unittest.cc (right): http://codereview.chromium.org/1695018/diff/26001/13012#newcode100 chrome/browser/extensions/extension_updater_unittest.cc:100: DCHECK(e); Could you rather ...
10 years, 8 months ago (2010-04-27 05:49:19 UTC) #2
asargent_no_longer_on_chrome
http://codereview.chromium.org/1695018/diff/26001/13012 File chrome/browser/extensions/extension_updater_unittest.cc (right): http://codereview.chromium.org/1695018/diff/26001/13012#newcode100 chrome/browser/extensions/extension_updater_unittest.cc:100: DCHECK(e); On 2010/04/27 05:49:20, Paweł Hajdan Jr. wrote: > ...
10 years, 8 months ago (2010-04-27 16:57:14 UTC) #3
Paweł Hajdan Jr.
Code I commented in the drive-by LGTM.
10 years, 8 months ago (2010-04-27 17:05:45 UTC) #4
rafaelw
http://codereview.chromium.org/1695018/diff/37001/38002 File chrome/browser/extensions/extension_prefs.cc (right): http://codereview.chromium.org/1695018/diff/37001/38002#newcode58 chrome/browser/extensions/extension_prefs.cc:58: const wchar_t kPrefIdleInstallInfo[] = L"idle_install_info"; nit: ditch the "Pref" ...
10 years, 8 months ago (2010-04-27 17:40:42 UTC) #5
asargent_no_longer_on_chrome
http://codereview.chromium.org/1695018/diff/37001/38002 File chrome/browser/extensions/extension_prefs.cc (right): http://codereview.chromium.org/1695018/diff/37001/38002#newcode58 chrome/browser/extensions/extension_prefs.cc:58: const wchar_t kPrefIdleInstallInfo[] = L"idle_install_info"; On 2010/04/27 17:40:42, rafaelw ...
10 years, 8 months ago (2010-04-27 18:28:35 UTC) #6
rafaelw
10 years, 8 months ago (2010-04-27 18:34:27 UTC) #7
lgtm.

Powered by Google App Engine
This is Rietveld 408576698