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

Unified Diff: chrome/browser/google/google_update_win.h

Issue 1214603005: Simplify update error message support HTML. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment improvement Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/google/google_update_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/google/google_update_win.h
diff --git a/chrome/browser/google/google_update_win.h b/chrome/browser/google/google_update_win.h
index 0e02c76338509c39e8d1bc3a196d88a68c8b1491..149385af10fe8fb89d9812c1336c6f54b3f8990e 100644
--- a/chrome/browser/google/google_update_win.h
+++ b/chrome/browser/google/google_update_win.h
@@ -76,11 +76,13 @@ class UpdateCheckDelegate {
virtual void OnUpgradeComplete(const base::string16& new_version) = 0;
// Invoked following an unrecoverable error, indicated by |error_code|.
- // |error_message|, if not empty, contains a localized string that may be
- // presented to the user explaining the nature of the error. |new_version|, if
- // not empty, indicates the version to which an upgrade attempt was made.
+ // |html_error_message|, if not empty, must be a localized string containing
+ // all information required by users to act on the error as well as for
+ // support staff to diagnose it (i.e. |error_code| and any other related
+ // state information). |new_version|, if not empty, indicates the version
+ // to which an upgrade attempt was made.
virtual void OnError(GoogleUpdateErrorCode error_code,
- const base::string16& error_message,
+ const base::string16& html_error_message,
const base::string16& new_version) = 0;
protected:
« no previous file with comments | « no previous file | chrome/browser/google/google_update_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698