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

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

Issue 8509037: Revert 109826 - Re-authenticate oauth tokens after crash and restart Sync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | « chrome/browser/chromeos/login/login_utils.cc ('k') | no next file » | 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) 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 virtual void CompleteOffTheRecordLogin(const GURL& start_url) {} 101 virtual void CompleteOffTheRecordLogin(const GURL& start_url) {}
102 102
103 virtual void SetFirstLoginPrefs(PrefService* prefs) {} 103 virtual void SetFirstLoginPrefs(PrefService* prefs) {}
104 104
105 virtual scoped_refptr<Authenticator> CreateAuthenticator( 105 virtual scoped_refptr<Authenticator> CreateAuthenticator(
106 LoginStatusConsumer* consumer); 106 LoginStatusConsumer* consumer);
107 107
108 virtual void PrewarmAuthentication() {} 108 virtual void PrewarmAuthentication() {}
109 109
110 virtual void RestoreAuthenticationSession(const std::string& user_name,
111 Profile* profile) {}
112
113 virtual void FetchCookies( 110 virtual void FetchCookies(
114 Profile* profile, 111 Profile* profile,
115 const GaiaAuthConsumer::ClientLoginResult& credentials) {} 112 const GaiaAuthConsumer::ClientLoginResult& credentials) {}
116 113
117 virtual void StartTokenServices(Profile* profile) {} 114 virtual void StartTokenServices(Profile* profile) {}
118 115
119 virtual void StartSync( 116 virtual void StartSync(
120 Profile* profile, 117 Profile* profile,
121 const GaiaAuthConsumer::ClientLoginResult& credentials) {} 118 const GaiaAuthConsumer::ClientLoginResult& credentials) {}
122 119
(...skipping 17 matching lines...) Expand all
140 std::string expected_password_; 137 std::string expected_password_;
141 std::string auth_token_; 138 std::string auth_token_;
142 chromeos::BackgroundView* background_view_; 139 chromeos::BackgroundView* background_view_;
143 140
144 DISALLOW_COPY_AND_ASSIGN(MockLoginUtils); 141 DISALLOW_COPY_AND_ASSIGN(MockLoginUtils);
145 }; 142 };
146 143
147 } // namespace chromeos 144 } // namespace chromeos
148 145
149 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ 146 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_
OLDNEW
« 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