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

Unified Diff: chrome/browser/resources/options/browser_options.js

Issue 15774008: Pass errors generated during limited-user registration up to the UI for display. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Addressed Drew's comments Created 7 years, 6 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
Index: chrome/browser/resources/options/browser_options.js
===================================================================
--- chrome/browser/resources/options/browser_options.js (revision 203598)
+++ chrome/browser/resources/options/browser_options.js (working copy)
@@ -1070,6 +1070,15 @@
},
/**
+ * Reports a remote error (e.g., a network error during limited-user
+ * registration) to the "create" overlay during profile creation.
+ * @private
+ */
+ showCreateProfileRemoteError_: function() {
+ CreateProfileOverlay.onRemoteError();
+ },
+
+ /**
* Reports successful profile creation to the "create" overlay.
* @param {Object} profileInfo An object of the form:
* profileInfo = {
@@ -1464,6 +1473,7 @@
'setupProxySettingsSection',
'showBluetoothSettings',
'showCreateProfileLocalError',
+ 'showCreateProfileRemoteError',
'showCreateProfileSuccess',
'showMouseControls',
'showTouchpadControls',
« no previous file with comments | « chrome/browser/profiles/profile_metrics.h ('k') | chrome/browser/resources/options/manage_profile_overlay.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698