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

Issue 2483513002: Revert of Makes the component installers return a Result instead of a bool. (Closed)

Created:
4 years, 1 month ago by Avi (use Gerrit)
Modified:
4 years, 1 month ago
CC:
chromium-reviews, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, iclelland+watch_chromuim.org, chasej+watch_chromium.org, pam+watch_chromium.org, chromium-apps-reviews_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Makes the component installers return a Result instead of a bool. (patchset #1 id:1 of https://codereview.chromium.org/2479633003/ ) Reason for revert: Breaks official build. http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Mac/builds/15483 FAILED: obj/chrome/browser/browser/pepper_flash_component_installer.o /b/c/cipd/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/chrome/...-inlines-hidden -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -c ../../chrome/browser/component_updater/pepper_flash_component_installer.cc -o obj/chrome/browser/browser/pepper_flash_component_installer.o ../../chrome/browser/component_updater/pepper_flash_component_installer.cc:162:8: error: virtual function 'OnCustomInstall' has a different return type ('bool') than the function it overrides (which has return type 'update_client::CrxInstaller::Result') bool OnCustomInstall(const base::DictionaryValue& manifest, ~~~~ ^ ../../components/component_updater/default_component_installer.h:61:47: note: overridden virtual function is here virtual update_client::CrxInstaller::Result OnCustomInstall( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 1 error generated. Original issue's description: > Makes the component installers return a Result instead of a bool. > > This allows conveying more error information from the component > installers to other layers of the component updater. > > Before this change, the component install execution path could > only return one error. We are trying to understand the reasons > why the component installers fail. > > BUG=615669 > > Committed: https://crrev.com/73769a84d74113a4a10e4152e63d219eb72f2630 > Cr-Commit-Position: refs/heads/master@{#429995} TBR=waffles@chromium.org,agl@chromium.org,asargent@chromium.org,sdefresne@chromium.org,pastarmovj@google.com,pastarmovj@chromium.org,sorin@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=615669 Committed: https://crrev.com/dbbd35e36767126cd0632d4a4abb521f7efc8eb2 Cr-Commit-Position: refs/heads/master@{#430008}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -334 lines) Patch
M chrome/browser/component_updater/ev_whitelist_component_installer.h View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/component_updater/ev_whitelist_component_installer.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/component_updater/file_type_policies_component_installer.h View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/component_updater/file_type_policies_component_installer.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/component_updater/origin_trials_component_installer.h View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/component_updater/origin_trials_component_installer.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/component_updater/pnacl_component_installer.h View 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/component_updater/pnacl_component_installer.cc View 3 chunks +2 lines, -12 lines 0 comments Download
M chrome/browser/component_updater/recovery_component_installer.cc View 5 chunks +4 lines, -19 lines 0 comments Download
M chrome/browser/component_updater/sth_set_component_installer.h View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/component_updater/sth_set_component_installer.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/component_updater/subresource_filter_component_installer.h View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/component_updater/subresource_filter_component_installer.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/component_updater/supervised_user_whitelist_installer.cc View 3 chunks +4 lines, -11 lines 0 comments Download
M chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/component_updater/sw_reporter_installer_win.h View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/component_updater/sw_reporter_installer_win.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/component_updater/swiftshader_component_installer.cc View 5 chunks +3 lines, -17 lines 0 comments Download
M chrome/browser/component_updater/widevine_cdm_component_installer.cc View 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/net/crl_set_fetcher.h View 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/net/crl_set_fetcher.cc View 3 chunks +2 lines, -12 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M components/component_updater/component_updater_service_unittest.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M components/component_updater/default_component_installer.h View 3 chunks +7 lines, -10 lines 0 comments Download
M components/component_updater/default_component_installer.cc View 7 chunks +24 lines, -30 lines 0 comments Download
M components/component_updater/default_component_installer_unittest.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M components/update_client/action_update.h View 5 chunks +10 lines, -13 lines 0 comments Download
M components/update_client/action_update.cc View 6 chunks +41 lines, -36 lines 0 comments Download
M components/update_client/test_installer.h View 2 chunks +4 lines, -4 lines 0 comments Download
M components/update_client/test_installer.cc View 4 chunks +7 lines, -13 lines 0 comments Download
M components/update_client/update_client.h View 3 chunks +2 lines, -13 lines 0 comments Download
M components/update_client/update_client_errors.h View 1 chunk +18 lines, -28 lines 0 comments Download
M components/update_client/update_client_unittest.cc View 2 chunks +3 lines, -5 lines 0 comments Download
M components/update_client/utils.h View 2 chunks +0 lines, -7 lines 0 comments Download
M components/update_client/utils.cc View 3 chunks +0 lines, -7 lines 0 comments Download
M extensions/browser/updater/update_install_shim.h View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/updater/update_install_shim.cc View 3 chunks +5 lines, -11 lines 0 comments Download
M ios/chrome/browser/net/crl_set_fetcher.h View 2 chunks +2 lines, -5 lines 0 comments Download
M ios/chrome/browser/net/crl_set_fetcher.cc View 3 chunks +2 lines, -12 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Avi (use Gerrit)
Created Revert of Makes the component installers return a Result instead of a bool.
4 years, 1 month ago (2016-11-04 20:44:27 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2483513002/1
4 years, 1 month ago (2016-11-04 20:45:15 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-04 20:46:48 UTC) #5
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 20:49:32 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/dbbd35e36767126cd0632d4a4abb521f7efc8eb2
Cr-Commit-Position: refs/heads/master@{#430008}

Powered by Google App Engine
This is Rietveld 408576698