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

Side by Side Diff: chrome/browser/signin/fake_signin_manager.h

Issue 23245003: Remove SigninManager::StartSignIn() since /ClientLogin is no longer used. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Undo changes to GaiaAuthFetcher Created 7 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/signin/fake_signin_manager.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SIGNIN_FAKE_SIGNIN_MANAGER_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_FAKE_SIGNIN_MANAGER_H_
6 #define CHROME_BROWSER_SIGNIN_FAKE_SIGNIN_MANAGER_H_ 6 #define CHROME_BROWSER_SIGNIN_FAKE_SIGNIN_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 23 matching lines...) Expand all
34 public: 34 public:
35 explicit FakeSigninManager(Profile* profile); 35 explicit FakeSigninManager(Profile* profile);
36 virtual ~FakeSigninManager(); 36 virtual ~FakeSigninManager();
37 37
38 void set_auth_in_progress(const std::string& username) { 38 void set_auth_in_progress(const std::string& username) {
39 possibly_invalid_username_ = username; 39 possibly_invalid_username_ = username;
40 } 40 }
41 41
42 virtual void SignOut() OVERRIDE; 42 virtual void SignOut() OVERRIDE;
43 virtual void InitTokenService() OVERRIDE; 43 virtual void InitTokenService() OVERRIDE;
44 virtual void StartSignIn(const std::string& username,
45 const std::string& password,
46 const std::string& login_token,
47 const std::string& login_captcha) OVERRIDE;
48 44
49 virtual void StartSignInWithCredentials( 45 virtual void StartSignInWithCredentials(
50 const std::string& session_index, 46 const std::string& session_index,
51 const std::string& username, 47 const std::string& username,
52 const std::string& password, 48 const std::string& password,
53 const OAuthTokenFetchedCallback& oauth_fetched_callback) OVERRIDE; 49 const OAuthTokenFetchedCallback& oauth_fetched_callback) OVERRIDE;
54 50
55 virtual void CompletePendingSignin() OVERRIDE; 51 virtual void CompletePendingSignin() OVERRIDE;
56 52
57 // Helper function to be used with 53 // Helper function to be used with
58 // BrowserContextKeyedService::SetTestingFactory(). 54 // BrowserContextKeyedService::SetTestingFactory().
59 static BrowserContextKeyedService* Build(content::BrowserContext* profile); 55 static BrowserContextKeyedService* Build(content::BrowserContext* profile);
60 }; 56 };
61 57
62 #endif // !defined (OS_CHROMEOS) 58 #endif // !defined (OS_CHROMEOS)
63 59
64 #endif // CHROME_BROWSER_SIGNIN_FAKE_SIGNIN_MANAGER_H_ 60 #endif // CHROME_BROWSER_SIGNIN_FAKE_SIGNIN_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/signin/fake_signin_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698