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

Side by Side Diff: chrome/browser/resources/chromeos/login/screen_error_message.js

Issue 614223006: Revert "UMA: How often are different network error screens encountered during OOBE" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2171
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Offline message screen implementation. 6 * @fileoverview Offline message screen implementation.
7 */ 7 */
8 8
9 login.createScreen('ErrorMessageScreen', 'error-message', function() { 9 login.createScreen('ErrorMessageScreen', 'error-message', function() {
10 // Link which starts guest session for captive portal fixing. 10 // Link which starts guest session for captive portal fixing.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 }; 46 };
47 47
48 // Possible error states of the screen. Must be in the same order as 48 // Possible error states of the screen. Must be in the same order as
49 // ErrorScreen::ErrorState enum values. 49 // ErrorScreen::ErrorState enum values.
50 /** @const */ var ERROR_STATES = [ 50 /** @const */ var ERROR_STATES = [
51 ERROR_STATE.UNKNOWN, 51 ERROR_STATE.UNKNOWN,
52 ERROR_STATE.PORTAL, 52 ERROR_STATE.PORTAL,
53 ERROR_STATE.OFFLINE, 53 ERROR_STATE.OFFLINE,
54 ERROR_STATE.PROXY, 54 ERROR_STATE.PROXY,
55 ERROR_STATE.AUTH_EXT_TIMEOUT, 55 ERROR_STATE.AUTH_EXT_TIMEOUT,
56 ERROR_STATE.NONE, 56 ERROR_STATE.KIOSK_ONLINE
57 ERROR_STATE.KIOSK_ONLINE,
58 ]; 57 ];
59 58
60 return { 59 return {
61 EXTERNAL_API: [ 60 EXTERNAL_API: [
62 'updateLocalizedContent', 61 'updateLocalizedContent',
63 'onBeforeShow', 62 'onBeforeShow',
64 'onBeforeHide', 63 'onBeforeHide',
65 'allowGuestSignin', 64 'allowGuestSignin',
66 'allowOfflineLogin', 65 'allowOfflineLogin',
67 'setUIState', 66 'setUIState',
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 /** 361 /**
363 * Updates visibility of the label indicating we're reconnecting. 362 * Updates visibility of the label indicating we're reconnecting.
364 * @param {boolean} show Whether the label should be shown. 363 * @param {boolean} show Whether the label should be shown.
365 */ 364 */
366 showConnectingIndicator: function(show) { 365 showConnectingIndicator: function(show) {
367 this.classList.toggle('show-connecting-indicator', show); 366 this.classList.toggle('show-connecting-indicator', show);
368 this.onContentChange_(); 367 this.onContentChange_();
369 } 368 }
370 }; 369 };
371 }); 370 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698