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

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

Issue 579033002: [Clean-up] Remove some dead code for handling Webstore sign-in. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore incorrectly deleted code Created 6 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
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 virtual void StartSignInWithRefreshToken( 57 virtual void StartSignInWithRefreshToken(
58 const std::string& refresh_token, 58 const std::string& refresh_token,
59 const std::string& username, 59 const std::string& username,
60 const std::string& password, 60 const std::string& password,
61 const OAuthTokenFetchedCallback& oauth_fetched_callback) OVERRIDE; 61 const OAuthTokenFetchedCallback& oauth_fetched_callback) OVERRIDE;
62 62
63 virtual void SignOut(signin_metrics::ProfileSignout signout_source_metric) 63 virtual void SignOut(signin_metrics::ProfileSignout signout_source_metric)
64 OVERRIDE; 64 OVERRIDE;
65 65
66 virtual void CompletePendingSignin() OVERRIDE; 66 virtual void CompletePendingSignin() OVERRIDE;
67
68 virtual void AddMergeSessionObserver(
69 MergeSessionHelper::Observer* observer) OVERRIDE;
70 virtual void RemoveMergeSessionObserver(
71 MergeSessionHelper::Observer* observer) OVERRIDE;
72
73 void NotifyMergeSessionObservers(const GoogleServiceAuthError& error);
74
75 private:
76 ObserverList<MergeSessionHelper::Observer, true> merge_session_observer_list_;
77 }; 67 };
78 68
79 #endif // !defined (OS_CHROMEOS) 69 #endif // !defined (OS_CHROMEOS)
80 70
81 #if defined(OS_CHROMEOS) 71 #if defined(OS_CHROMEOS)
82 typedef FakeSigninManagerBase FakeSigninManagerForTesting; 72 typedef FakeSigninManagerBase FakeSigninManagerForTesting;
83 #else 73 #else
84 typedef FakeSigninManager FakeSigninManagerForTesting; 74 typedef FakeSigninManager FakeSigninManagerForTesting;
85 #endif 75 #endif
86 76
87 #endif // CHROME_BROWSER_SIGNIN_FAKE_SIGNIN_MANAGER_H_ 77 #endif // CHROME_BROWSER_SIGNIN_FAKE_SIGNIN_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698