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

Side by Side Diff: chrome/browser/chromeos/login/existing_user_controller.h

Issue 6469027: [cros] Report captive portal message when we suspect that might be the case. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 10 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_EXISTING_USER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 // Creates and shows login UI for known users. 53 // Creates and shows login UI for known users.
54 void Init(const UserVector& users); 54 void Init(const UserVector& users);
55 55
56 // Takes ownership of the specified background widget and view. 56 // Takes ownership of the specified background widget and view.
57 void OwnBackground(views::Widget* background_widget, 57 void OwnBackground(views::Widget* background_widget,
58 chromeos::BackgroundView* background_view); 58 chromeos::BackgroundView* background_view);
59 59
60 // LoginDisplay::Delegate: implementation 60 // LoginDisplay::Delegate: implementation
61 virtual void CreateAccount(); 61 virtual void CreateAccount();
62 virtual void FixCaptivePortal();
62 virtual void Login(const std::string& username, 63 virtual void Login(const std::string& username,
63 const std::string& password); 64 const std::string& password);
64 virtual void LoginAsGuest(); 65 virtual void LoginAsGuest();
65 virtual void OnUserSelected(const std::string& username); 66 virtual void OnUserSelected(const std::string& username);
66 virtual void RemoveUser(const std::string& username); 67 virtual void RemoveUser(const std::string& username);
67 68
68 // NotificationObserver implementation. 69 // NotificationObserver implementation.
69 virtual void Observe(NotificationType type, 70 virtual void Observe(NotificationType type,
70 const NotificationSource& source, 71 const NotificationSource& source,
71 const NotificationDetails& details); 72 const NotificationDetails& details);
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 167
167 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, NewUserLogin); 168 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, NewUserLogin);
168 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, CreateAccount); 169 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, CreateAccount);
169 170
170 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); 171 DISALLOW_COPY_AND_ASSIGN(ExistingUserController);
171 }; 172 };
172 173
173 } // namespace chromeos 174 } // namespace chromeos
174 175
175 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 176 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698