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

Unified Diff: chrome/browser/chromeos/login/mock_authenticator.h

Issue 5641001: [cros] Fetch cookies after online authentication is successful. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/mock_authenticator.h
diff --git a/chrome/browser/chromeos/login/mock_authenticator.h b/chrome/browser/chromeos/login/mock_authenticator.h
index 92db635b6906c021ad989f23f12400aa8d8c481c..5e0f708735f74685661d163a194ec30cddccee73 100644
--- a/chrome/browser/chromeos/login/mock_authenticator.h
+++ b/chrome/browser/chromeos/login/mock_authenticator.h
@@ -112,7 +112,8 @@ class MockLoginUtils : public LoginUtils {
virtual void CompleteLogin(const std::string& username,
const std::string& password,
- const GaiaAuthConsumer::ClientLoginResult& res) {
+ const GaiaAuthConsumer::ClientLoginResult& res,
+ bool pending_requests) {
EXPECT_EQ(expected_username_, username);
EXPECT_EQ(expected_password_, password);
}
@@ -135,11 +136,17 @@ class MockLoginUtils : public LoginUtils {
return true;
}
- virtual const std::string& GetAuthToken() const {
- return auth_token_;
+ virtual void PrewarmAuthentication() {
}
- virtual void PrewarmAuthentication() {
+ virtual void FetchCookies(
+ Profile* profile,
+ const GaiaAuthConsumer::ClientLoginResult& credentials) {
+ }
+
+ virtual void FetchTokens(
+ Profile* profile,
+ const GaiaAuthConsumer::ClientLoginResult& credentials) {
}
private:
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698