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

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

Issue 2566443005: cros: Replace WizardController string constants with OobeScreen values. (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_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_VIEW_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "chrome/browser/ui/webui/chromeos/login/oobe_screen.h" 9 #include "chrome/browser/chromeos/login/oobe_screen.h"
10 10
11 namespace chromeos { 11 namespace chromeos {
12 12
13 class NetworkErrorModel; 13 class NetworkErrorModel;
14 14
15 // Interface for dependency injection between ErrorScreen and its actual 15 // Interface for dependency injection between ErrorScreen and its actual
16 // representation. Owned by ErrorScreen. 16 // representation. Owned by ErrorScreen.
17 class NetworkErrorView { 17 class NetworkErrorView {
18 public: 18 public:
19 virtual ~NetworkErrorView() {} 19 virtual ~NetworkErrorView() {}
(...skipping 10 matching lines...) Expand all
30 // Unbinds model from the view. 30 // Unbinds model from the view.
31 virtual void Unbind() = 0; 31 virtual void Unbind() = 0;
32 32
33 // Switches to |screen|. 33 // Switches to |screen|.
34 virtual void ShowOobeScreen(OobeScreen screen) = 0; 34 virtual void ShowOobeScreen(OobeScreen screen) = 0;
35 }; 35 };
36 36
37 } // namespace chromeos 37 } // namespace chromeos
38 38
39 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_VIEW_H_ 39 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screens/network_error_model.cc ('k') | chrome/browser/chromeos/login/screens/network_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698