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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 virtual void CreateAccount() OVERRIDE; 62 virtual void CreateAccount() OVERRIDE;
63 virtual string16 GetConnectedNetworkName() OVERRIDE; 63 virtual string16 GetConnectedNetworkName() OVERRIDE;
64 virtual void FixCaptivePortal() OVERRIDE; 64 virtual void FixCaptivePortal() OVERRIDE;
65 virtual void Login(const std::string& username, 65 virtual void Login(const std::string& username,
66 const std::string& password) OVERRIDE; 66 const std::string& password) OVERRIDE;
67 virtual void LoginAsGuest() OVERRIDE; 67 virtual void LoginAsGuest() OVERRIDE;
68 virtual void OnUserSelected(const std::string& username) OVERRIDE; 68 virtual void OnUserSelected(const std::string& username) OVERRIDE;
69 virtual void OnStartEnterpriseEnrollment() OVERRIDE; 69 virtual void OnStartEnterpriseEnrollment() OVERRIDE;
70 70
71 // NotificationObserver implementation. 71 // NotificationObserver implementation.
72 virtual void Observe(NotificationType type, 72 virtual void Observe(int type,
73 const NotificationSource& source, 73 const NotificationSource& source,
74 const NotificationDetails& details); 74 const NotificationDetails& details);
75 75
76 // Set a delegate that we will pass LoginStatusConsumer events to. 76 // Set a delegate that we will pass LoginStatusConsumer events to.
77 // Used for testing. 77 // Used for testing.
78 void set_login_status_consumer(LoginStatusConsumer* consumer) { 78 void set_login_status_consumer(LoginStatusConsumer* consumer) {
79 login_status_consumer_ = consumer; 79 login_status_consumer_ = consumer;
80 } 80 }
81 81
82 // Returns the LoginDisplay instance created and owned by this controller. 82 // Returns the LoginDisplay instance created and owned by this controller.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 scoped_ptr<OwnershipStatusChecker> ownership_checker_; 187 scoped_ptr<OwnershipStatusChecker> ownership_checker_;
188 188
189 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, NewUserLogin); 189 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, NewUserLogin);
190 190
191 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); 191 DISALLOW_COPY_AND_ASSIGN(ExistingUserController);
192 }; 192 };
193 193
194 } // namespace chromeos 194 } // namespace chromeos
195 195
196 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 196 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/base_login_display_host.cc ('k') | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698