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

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

Issue 5671003: [Chrome OS] Plumb new error codes from SignedSettings to consumers of the API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove untoward log statement Created 10 years 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/login_performer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 virtual void OnLoginSuccess( 76 virtual void OnLoginSuccess(
77 const std::string& username, 77 const std::string& username,
78 const std::string& password, 78 const std::string& password,
79 const GaiaAuthConsumer::ClientLoginResult& credentials, 79 const GaiaAuthConsumer::ClientLoginResult& credentials,
80 bool pending_requests); 80 bool pending_requests);
81 virtual void OnOffTheRecordLoginSuccess(); 81 virtual void OnOffTheRecordLoginSuccess();
82 virtual void OnPasswordChangeDetected( 82 virtual void OnPasswordChangeDetected(
83 const GaiaAuthConsumer::ClientLoginResult& credentials); 83 const GaiaAuthConsumer::ClientLoginResult& credentials);
84 84
85 // SignedSettingsHelper::Callback implementation: 85 // SignedSettingsHelper::Callback implementation:
86 virtual void OnCheckWhiteListCompleted(bool success, 86 virtual void OnCheckWhitelistCompleted(SignedSettings::ReturnCode code,
87 const std::string& email); 87 const std::string& email);
88 88
89 // NotificationObserver implementation: 89 // NotificationObserver implementation:
90 virtual void Observe(NotificationType type, 90 virtual void Observe(NotificationType type,
91 const NotificationSource& source, 91 const NotificationSource& source,
92 const NotificationDetails& details); 92 const NotificationDetails& details);
93 93
94 // Performs login with the |username| and |password| specified. 94 // Performs login with the |username| and |password| specified.
95 void Login(const std::string& username, const std::string& password); 95 void Login(const std::string& username, const std::string& password);
96 96
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 bool screen_lock_requested_; 179 bool screen_lock_requested_;
180 180
181 ScopedRunnableMethodFactory<LoginPerformer> method_factory_; 181 ScopedRunnableMethodFactory<LoginPerformer> method_factory_;
182 182
183 DISALLOW_COPY_AND_ASSIGN(LoginPerformer); 183 DISALLOW_COPY_AND_ASSIGN(LoginPerformer);
184 }; 184 };
185 185
186 } // namespace chromeos 186 } // namespace chromeos
187 187
188 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_ 188 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/login_performer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698