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

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

Issue 7639004: [ChromeOS] Always fetch oauth cooken when signing in via extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos trybot Created 9 years, 4 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_MOCK_AUTHENTICATOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 const std::string& expected_password); 87 const std::string& expected_password);
88 virtual ~MockLoginUtils(); 88 virtual ~MockLoginUtils();
89 89
90 virtual bool ShouldWaitForWifi(); 90 virtual bool ShouldWaitForWifi();
91 91
92 virtual void PrepareProfile(const std::string& username, 92 virtual void PrepareProfile(const std::string& username,
93 const std::string& password, 93 const std::string& password,
94 const GaiaAuthConsumer::ClientLoginResult& res, 94 const GaiaAuthConsumer::ClientLoginResult& res,
95 bool pending_requests, 95 bool pending_requests,
96 bool using_oauth, 96 bool using_oauth,
97 bool has_cookies,
97 Delegate* delegate); 98 Delegate* delegate);
98 99
99 virtual void CompleteOffTheRecordLogin(const GURL& start_url) {} 100 virtual void CompleteOffTheRecordLogin(const GURL& start_url) {}
100 101
101 virtual void SetFirstLoginPrefs(PrefService* prefs) {} 102 virtual void SetFirstLoginPrefs(PrefService* prefs) {}
102 103
103 virtual Authenticator* CreateAuthenticator(LoginStatusConsumer* consumer); 104 virtual Authenticator* CreateAuthenticator(LoginStatusConsumer* consumer);
104 105
105 virtual void PrewarmAuthentication() {} 106 virtual void PrewarmAuthentication() {}
106 107
(...skipping 23 matching lines...) Expand all
130 std::string expected_password_; 131 std::string expected_password_;
131 std::string auth_token_; 132 std::string auth_token_;
132 chromeos::BackgroundView* background_view_; 133 chromeos::BackgroundView* background_view_;
133 134
134 DISALLOW_COPY_AND_ASSIGN(MockLoginUtils); 135 DISALLOW_COPY_AND_ASSIGN(MockLoginUtils);
135 }; 136 };
136 137
137 } // namespace chromeos 138 } // namespace chromeos
138 139
139 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ 140 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/browser/chromeos/login/mock_authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698