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

Side by Side Diff: chrome/browser/chromeos/login/screens/network_error.h

Issue 2642823011: cros: Fold NetworkErrorModel into NetworkErrorView. (Closed)
Patch Set: Address comments Created 3 years, 11 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_H_
7 7
8 namespace chromeos { 8 namespace chromeos {
9 9
10 // TODO(jdufault): Remove Network prefix from NetworkError associated classes.
11 // See crbug.com/672142
10 class NetworkError { 12 class NetworkError {
11 public: 13 public:
12 enum UIState { 14 enum UIState {
13 UI_STATE_UNKNOWN = 0, 15 UI_STATE_UNKNOWN = 0,
14 UI_STATE_UPDATE, 16 UI_STATE_UPDATE,
15 UI_STATE_SIGNIN, 17 UI_STATE_SIGNIN,
16 UI_STATE_SUPERVISED, 18 UI_STATE_SUPERVISED,
17 UI_STATE_KIOSK_MODE, 19 UI_STATE_KIOSK_MODE,
18 UI_STATE_LOCAL_STATE_ERROR, 20 UI_STATE_LOCAL_STATE_ERROR,
19 UI_STATE_AUTO_ENROLLMENT_ERROR, 21 UI_STATE_AUTO_ENROLLMENT_ERROR,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // GAIA reloads due to a single network error reason. 56 // GAIA reloads due to a single network error reason.
55 ERROR_REASON_NONE = 9 57 ERROR_REASON_NONE = 9
56 }; 58 };
57 59
58 static const char* ErrorReasonString(ErrorReason reason); 60 static const char* ErrorReasonString(ErrorReason reason);
59 }; 61 };
60 62
61 } // namespace chromeos 63 } // namespace chromeos
62 64
63 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_H_ 65 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698