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

Side by Side Diff: chrome/browser/chromeos/login/login_performer.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_LOGIN_PERFORMER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 bool pending_requests); 82 bool pending_requests);
83 virtual void OnOffTheRecordLoginSuccess(); 83 virtual void OnOffTheRecordLoginSuccess();
84 virtual void OnPasswordChangeDetected( 84 virtual void OnPasswordChangeDetected(
85 const GaiaAuthConsumer::ClientLoginResult& credentials); 85 const GaiaAuthConsumer::ClientLoginResult& credentials);
86 86
87 // SignedSettingsHelper::Callback implementation: 87 // SignedSettingsHelper::Callback implementation:
88 virtual void OnCheckWhitelistCompleted(SignedSettings::ReturnCode code, 88 virtual void OnCheckWhitelistCompleted(SignedSettings::ReturnCode code,
89 const std::string& email); 89 const std::string& email);
90 90
91 // NotificationObserver implementation: 91 // NotificationObserver implementation:
92 virtual void Observe(NotificationType type, 92 virtual void Observe(int type,
93 const NotificationSource& source, 93 const NotificationSource& source,
94 const NotificationDetails& details); 94 const NotificationDetails& details);
95 95
96 // Performs login with the |username| and |password| specified. 96 // Performs login with the |username| and |password| specified.
97 void Login(const std::string& username, const std::string& password); 97 void Login(const std::string& username, const std::string& password);
98 98
99 // Performs actions to prepare Guest mode login. 99 // Performs actions to prepare Guest mode login.
100 void LoginOffTheRecord(); 100 void LoginOffTheRecord();
101 101
102 // Migrates cryptohome using |old_password| specified. 102 // Migrates cryptohome using |old_password| specified.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 GaiaAuthConsumer::ClientLoginResult credentials_; 191 GaiaAuthConsumer::ClientLoginResult credentials_;
192 192
193 ScopedRunnableMethodFactory<LoginPerformer> method_factory_; 193 ScopedRunnableMethodFactory<LoginPerformer> method_factory_;
194 194
195 DISALLOW_COPY_AND_ASSIGN(LoginPerformer); 195 DISALLOW_COPY_AND_ASSIGN(LoginPerformer);
196 }; 196 };
197 197
198 } // namespace chromeos 198 } // namespace chromeos
199 199
200 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_ 200 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_html_dialog.cc ('k') | chrome/browser/chromeos/login/login_performer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698