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

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

Issue 196783002: Export a private webstore API to call into the new inline sign-in flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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) 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 virtual void StartSignInWithRefreshToken( 56 virtual void StartSignInWithRefreshToken(
57 const std::string& refresh_token, 57 const std::string& refresh_token,
58 const std::string& username, 58 const std::string& username,
59 const std::string& password, 59 const std::string& password,
60 const OAuthTokenFetchedCallback& oauth_fetched_callback) OVERRIDE; 60 const OAuthTokenFetchedCallback& oauth_fetched_callback) OVERRIDE;
61 61
62 virtual void SignOut() OVERRIDE; 62 virtual void SignOut() OVERRIDE;
63 63
64 virtual void CompletePendingSignin() OVERRIDE; 64 virtual void CompletePendingSignin() OVERRIDE;
65
66 virtual void AddMergeSessionObserver(
67 MergeSessionHelper::Observer* observer) OVERRIDE;
68 virtual void RemoveMergeSessionObserver(
69 MergeSessionHelper::Observer* observer) OVERRIDE;
70
71 void NotifyMergeSessionObservers(const GoogleServiceAuthError& error);
72
73 private:
74 ObserverList<MergeSessionHelper::Observer, true> merge_session_observer_list_;
65 }; 75 };
66 76
67 #endif // !defined (OS_CHROMEOS) 77 #endif // !defined (OS_CHROMEOS)
68 78
69 #if defined(OS_CHROMEOS) 79 #if defined(OS_CHROMEOS)
70 typedef FakeSigninManagerBase FakeSigninManagerForTesting; 80 typedef FakeSigninManagerBase FakeSigninManagerForTesting;
71 #else 81 #else
72 typedef FakeSigninManager FakeSigninManagerForTesting; 82 typedef FakeSigninManager FakeSigninManagerForTesting;
73 #endif 83 #endif
74 84
75 #endif // CHROME_BROWSER_SIGNIN_FAKE_SIGNIN_MANAGER_H_ 85 #endif // CHROME_BROWSER_SIGNIN_FAKE_SIGNIN_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698