Index: chrome/browser/sync/test_profile_sync_service.h |
diff --git a/chrome/browser/sync/test_profile_sync_service.h b/chrome/browser/sync/test_profile_sync_service.h |
index 3eb631787cf9500e5dc5475aa77feb2f2980d567..1471d0190476c057cef8f9d69f7658dbb760ff4a 100644 |
--- a/chrome/browser/sync/test_profile_sync_service.h |
+++ b/chrome/browser/sync/test_profile_sync_service.h |
@@ -200,11 +200,19 @@ class TestProfileSyncService : public ProfileSyncService { |
class FakeOAuth2TokenService : public ProfileOAuth2TokenService { |
public: |
virtual scoped_ptr<OAuth2TokenService::Request> StartRequest( |
+ const std::string& account_id, |
const OAuth2TokenService::ScopeSet& scopes, |
OAuth2TokenService::Consumer* consumer) OVERRIDE; |
static BrowserContextKeyedService* BuildTokenService( |
content::BrowserContext* context); |
+ |
+ protected: |
+ virtual void PersistCredentials(const std::string& account_id, |
+ const std::string& refresh_token) OVERRIDE; |
+ |
+ virtual void ClearPersistedCredentials( |
+ const std::string& account_id) OVERRIDE; |
}; |
#endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ |