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

Side by Side Diff: chrome/browser/chromeos/network_login_observer.h

Issue 6027012: Fix so that login errors are shown from login/oobe screens.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_NETWORK_LOGIN_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_NETWORK_LOGIN_OBSERVER_H_
7 #pragma once
8
9 #include <map>
10 #include <string>
11
12 #include "base/basictypes.h"
13 #include "chrome/browser/chromeos/cros/network_library.h"
14
15 namespace views {
16 class WindowDelegate;
17 }
18
19 namespace chromeos {
20
21 // The network login observer reshows a login dialog if there was an error.
22
23 class NetworkLoginObserver : public NetworkLibrary::NetworkManagerObserver {
24 public:
25 explicit NetworkLoginObserver(NetworkLibrary* netlib);
26 virtual ~NetworkLoginObserver();
27
28 typedef std::map<std::string, bool> WifiFailureMap;
29 private:
30 virtual void CreateModalPopup(views::WindowDelegate* view);
31
32 virtual void RefreshStoredNetworks(const WifiNetworkVector& wifi_networks);
33
34 // NetworkLibrary::NetworkManagerObserver implementation.
35 virtual void OnNetworkManagerChanged(NetworkLibrary* obj);
36
37 // Wifi networks by service path mapped to if it failed previously.
38 WifiFailureMap wifi_network_failures_;
39
40 DISALLOW_COPY_AND_ASSIGN(NetworkLoginObserver);
41 };
42
43 } // namespace chromeos
44
45 #endif // CHROME_BROWSER_CHROMEOS_NETWORK_LOGIN_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/mock_authenticator.h ('k') | chrome/browser/chromeos/network_login_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698