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

Issue 1214603005: Simplify update error message support HTML. (Closed)

Created:
5 years, 5 months ago by bcwhite
Modified:
5 years, 5 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplify update error message support HTML. Errors from the update mechanism were appearing twice, once included in the error string generated in google_update_win and once in OnError() of version_updater_win. This caused redundant information like this: Update failed (error: 1)An error occurred while checking for updates: Update check failed to start (error code 1: 0x80004005). Now this: An error occurred while checking for updates: Update check failed to start (error code 1: 0x80004005). In addition, this allows removal of the check against a specific error code since that comes with an actual error message already. The error message has been explicitly stated as being HTML, making it okay for callers to include mark-up such as links to more info. For more information, see the discussion on this CL: https://codereview.chromium.org/1212783003/ BUG=489801 Committed: https://crrev.com/5895b1965309229401de2afc2c815890d51ff4f5 Cr-Commit-Position: refs/heads/master@{#338282}

Patch Set 1 #

Patch Set 2 : rebased #

Total comments: 2

Patch Set 3 : comment improvement #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -27 lines) Patch
M chrome/browser/google/google_update_win.h View 1 2 1 chunk +6 lines, -4 lines 0 comments Download
M chrome/browser/google/google_update_win.cc View 1 5 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/ui/webui/help/version_updater_win.cc View 2 chunks +7 lines, -10 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
bcwhite
5 years, 5 months ago (2015-07-07 00:17:14 UTC) #2
bcwhite
Greg, I know you're not an owner for any of this, but is this okay ...
5 years, 5 months ago (2015-07-08 19:20:54 UTC) #3
grt (UTC plus 2)
much nicer error message. lgtm with a comment suggestion. https://codereview.chromium.org/1214603005/diff/20001/chrome/browser/google/google_update_win.h File chrome/browser/google/google_update_win.h (right): https://codereview.chromium.org/1214603005/diff/20001/chrome/browser/google/google_update_win.h#newcode81 chrome/browser/google/google_update_win.h:81: ...
5 years, 5 months ago (2015-07-09 14:33:10 UTC) #4
bcwhite
https://codereview.chromium.org/1214603005/diff/20001/chrome/browser/google/google_update_win.h File chrome/browser/google/google_update_win.h (right): https://codereview.chromium.org/1214603005/diff/20001/chrome/browser/google/google_update_win.h#newcode81 chrome/browser/google/google_update_win.h:81: // should include the error code because that will ...
5 years, 5 months ago (2015-07-09 14:54:01 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1214603005/40001
5 years, 5 months ago (2015-07-09 14:56:10 UTC) #8
bcwhite
5 years, 5 months ago (2015-07-09 14:56:45 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-09 15:05:13 UTC) #12
Peter Kasting
lgtm
5 years, 5 months ago (2015-07-09 21:18:39 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1214603005/40001
5 years, 5 months ago (2015-07-10 12:39:26 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 5 months ago (2015-07-10 12:43:39 UTC) #16
commit-bot: I haz the power
5 years, 5 months ago (2015-07-10 12:44:34 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5895b1965309229401de2afc2c815890d51ff4f5
Cr-Commit-Position: refs/heads/master@{#338282}

Powered by Google App Engine
This is Rietveld 408576698