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

Issue 322893002: Cleanup: Make ExtensionService::OnExtensionInstalled take a bitmask instead of (Closed)

Created:
6 years, 6 months ago by not at google - send to devlin
Modified:
6 years, 6 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, xiyuan
Visibility:
Public.

Description

Cleanup: Make ExtensionService:: and ExtensionPrefs::OnExtensionInstalled take a bitmask instead of 4 boolean values (soon to be 5). As part of that, change the default-true flag "wait for idle" to a default-false flag "install immediately". R=asargent@chromium.org TBR=estade@chromium.org, atwilson@chromium.org, dimich@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276999

Patch Set 1 #

Patch Set 2 : compile, cleanup #

Patch Set 3 : update extension prefs and other places too #

Patch Set 4 : rebase #

Total comments: 2

Patch Set 5 : fix infinite loop #

Patch Set 6 : fix compile #

Patch Set 7 : chromeos #

Patch Set 8 : rebase #

Patch Set 9 : more win compile fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -169 lines) Patch
M chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/extensions/app_process_apitest.cc View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/extensions/chrome_app_sorting_unittest.cc View 1 2 8 chunks +0 lines, -16 lines 0 comments Download
M chrome/browser/extensions/crx_installer.h View 1 2 4 chunks +13 lines, -11 lines 0 comments Download
M chrome/browser/extensions/crx_installer.cc View 1 2 6 chunks +11 lines, -15 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 1 7 chunks +31 lines, -11 lines 0 comments Download
M chrome/browser/extensions/extension_garbage_collector_chromeos_unittest.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_prefs_unittest.cc View 1 2 5 chunks +3 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 4 chunks +14 lines, -12 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 6 7 8 11 chunks +17 lines, -31 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/extensions/shared_module_service_unittest.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/extensions/test_extension_prefs.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/extensions/unpacked_installer.cc View 1 2 2 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/extensions/updater/extension_updater.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media_galleries/media_galleries_test_util.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_extension_helper.cc View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/panels/base_panel_browser_test.cc View 1 2 3 4 5 2 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/extensions/install_extension_handler.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/extension_prefs.h View 1 2 3 4 4 chunks +21 lines, -9 lines 0 comments Download
M extensions/browser/extension_prefs.cc View 1 2 3 7 chunks +9 lines, -11 lines 0 comments Download
A extensions/browser/install_flag.h View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M extensions/extensions.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
not at google - send to devlin
Not as scary as it looks, and certainly more of a pain to write than ...
6 years, 6 months ago (2014-06-09 23:34:24 UTC) #1
xiyuan
https://codereview.chromium.org/322893002/diff/60001/extensions/browser/extension_prefs.h File extensions/browser/extension_prefs.h (right): https://codereview.chromium.org/322893002/diff/60001/extensions/browser/extension_prefs.h#newcode201 extensions/browser/extension_prefs.h:201: extension, initial_state, page_ordinal, install_parameter); Seems missing the default install ...
6 years, 6 months ago (2014-06-10 17:07:28 UTC) #2
not at google - send to devlin
https://codereview.chromium.org/322893002/diff/60001/extensions/browser/extension_prefs.h File extensions/browser/extension_prefs.h (right): https://codereview.chromium.org/322893002/diff/60001/extensions/browser/extension_prefs.h#newcode201 extensions/browser/extension_prefs.h:201: extension, initial_state, page_ordinal, install_parameter); On 2014/06/10 17:07:28, xiyuan wrote: ...
6 years, 6 months ago (2014-06-10 17:08:42 UTC) #3
asargent_no_longer_on_chrome
lgtm
6 years, 6 months ago (2014-06-10 17:50:08 UTC) #4
not at google - send to devlin
The CQ bit was checked by kalman@chromium.org
6 years, 6 months ago (2014-06-10 22:59:06 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/322893002/70001
6 years, 6 months ago (2014-06-10 23:00:29 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 04:48:38 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-11 04:55:28 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/72898)
6 years, 6 months ago (2014-06-11 04:55:29 UTC) #9
not at google - send to devlin
The CQ bit was checked by kalman@chromium.org
6 years, 6 months ago (2014-06-11 14:51:09 UTC) #10
not at google - send to devlin
The CQ bit was unchecked by kalman@chromium.org
6 years, 6 months ago (2014-06-11 14:51:22 UTC) #11
not at google - send to devlin
The CQ bit was checked by kalman@chromium.org
6 years, 6 months ago (2014-06-11 14:54:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/322893002/90001
6 years, 6 months ago (2014-06-11 14:57:03 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_clang_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 20:26:59 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-11 20:52:33 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_compile_dbg/builds/27917) win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/26074) win_gpu ...
6 years, 6 months ago (2014-06-11 20:52:33 UTC) #16
not at google - send to devlin
The CQ bit was checked by kalman@chromium.org
6 years, 6 months ago (2014-06-12 04:09:35 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/322893002/110001
6 years, 6 months ago (2014-06-12 04:16:57 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_dbg_simulator on tryserver.chromium ...
6 years, 6 months ago (2014-06-12 10:18:22 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-12 10:25:36 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/160640)
6 years, 6 months ago (2014-06-12 10:25:37 UTC) #21
not at google - send to devlin
The CQ bit was checked by kalman@chromium.org
6 years, 6 months ago (2014-06-12 15:43:07 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/322893002/130001
6 years, 6 months ago (2014-06-12 15:45:09 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_compile_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-06-12 20:05:06 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-12 21:27:26 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/19447)
6 years, 6 months ago (2014-06-12 21:27:27 UTC) #26
not at google - send to devlin
The CQ bit was checked by kalman@chromium.org
6 years, 6 months ago (2014-06-13 02:43:11 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/322893002/150001
6 years, 6 months ago (2014-06-13 02:45:17 UTC) #28
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-06-13 08:28:46 UTC) #29
commit-bot: I haz the power
6 years, 6 months ago (2014-06-13 12:50:16 UTC) #30
Message was sent while issue was closed.
Change committed as 276999

Powered by Google App Engine
This is Rietveld 408576698