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

Unified Diff: chrome/browser/signin/fake_profile_oauth2_token_service.h

Issue 166573002: Fake PO2TS GetRequestContext should return NULL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/signin/fake_profile_oauth2_token_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/fake_profile_oauth2_token_service.h
diff --git a/chrome/browser/signin/fake_profile_oauth2_token_service.h b/chrome/browser/signin/fake_profile_oauth2_token_service.h
index cc5cbc9a784936a9ca9744af3bb81b619a69e25d..93014785711ab62ae172505644463c319c4643fa 100644
--- a/chrome/browser/signin/fake_profile_oauth2_token_service.h
+++ b/chrome/browser/signin/fake_profile_oauth2_token_service.h
@@ -66,6 +66,9 @@ class FakeProfileOAuth2TokenService
virtual bool RefreshTokenIsAvailable(
const std::string& account_id) OVERRIDE;
+ // Overriden to make sure it works on iOS.
+ virtual void LoadCredentials(const std::string& primary_account_id) OVERRIDE;
+
virtual std::vector<std::string> GetAccounts() OVERRIDE;
// Overriden to make sure it works on Android. Simply calls
@@ -135,6 +138,8 @@ class FakeProfileOAuth2TokenService
virtual std::string GetRefreshToken(const std::string& account_id) OVERRIDE;
+ virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
+
private:
// Helper function to complete pending requests - if |all_scopes| is true,
// then all pending requests are completed, otherwise, only those requests
« no previous file with comments | « no previous file | chrome/browser/signin/fake_profile_oauth2_token_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698