1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 #ifndef CHROME_BROWSER_SIGNIN_FAKE_ACCOUNT_RECONCILOR_H_
5 #define CHROME_BROWSER_SIGNIN_FAKE_ACCOUNT_RECONCILOR_H_
7 #include "components/signin/core/browser/account_reconcilor.h"
13 class FakeAccountReconcilor
: public AccountReconcilor
{
15 FakeAccountReconcilor(ProfileOAuth2TokenService
* token_service
,
16 SigninManagerBase
* signin_manager
,
18 GaiaCookieManagerService
* cookie_manager_service
);
20 // Helper function to be used with KeyedService::SetTestingFactory().
21 static KeyedService
* Build(content::BrowserContext
* context
);
24 // Override this method to perform no network call, instead the callback
25 // is called immediately
26 void GetAccountsFromCookie(GetAccountsFromCookieCallback callback
) override
;
28 DISALLOW_COPY_AND_ASSIGN(FakeAccountReconcilor
);
31 #endif // CHROME_BROWSER_SIGNIN_FAKE_ACCOUNT_RECONCILOR_H_