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

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

Issue 1100763002: Inject CanAddURLToHistory into TopSitesImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefs
Patch Set: Fix error introduced during rebase Created 5 years, 7 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
(Empty)
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_
6
7 #include "components/signin/core/browser/account_reconcilor.h"
8
9 namespace content {
10 class BrowserContext;
11 }
12
13 class FakeAccountReconcilor : public AccountReconcilor {
14 public:
15 FakeAccountReconcilor(ProfileOAuth2TokenService* token_service,
16 SigninManagerBase* signin_manager,
17 SigninClient* client,
18 GaiaCookieManagerService* cookie_manager_service);
19
20 // Helper function to be used with KeyedService::SetTestingFactory().
21 static KeyedService* Build(content::BrowserContext* context);
22
23 protected:
24 // Override this method to perform no network call, instead the callback
25 // is called immediately
26 void GetAccountsFromCookie(GetAccountsFromCookieCallback callback) override;
27
28 DISALLOW_COPY_AND_ASSIGN(FakeAccountReconcilor);
29 };
30
31 #endif // CHROME_BROWSER_SIGNIN_FAKE_ACCOUNT_RECONCILOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/chrome_signin_client.cc ('k') | chrome/browser/signin/fake_account_reconcilor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698