Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 | |
| 5 #ifndef CHROME_BROWSER_SIGNIN_FAKE_ACCOUNT_TRACKER_SERVICE_H_ | |
| 6 #define CHROME_BROWSER_SIGNIN_FAKE_ACCOUNT_TRACKER_SERVICE_H_ | |
| 7 | |
| 8 #include "components/signin/core/browser/account_tracker_service.h" | |
| 9 | |
| 10 class KeyedService; | |
| 11 | |
| 12 namespace content { | |
| 13 class BrowserContext; | |
| 14 } | |
| 15 | |
| 16 // AccountTrackerService is a KeyedService that retrieves and caches GAIA | |
|
noms (inactive)
2014/08/27 15:06:27
Should this comment maybe say something about the
Roger Tawa OOO till Jul 10th
2014/08/27 15:11:40
Added more description.
| |
| 17 // information about Google Accounts. | |
| 18 class FakeAccountTrackerService : public AccountTrackerService { | |
| 19 public: | |
| 20 static KeyedService* Build(content::BrowserContext* context); | |
| 21 | |
| 22 private: | |
| 23 FakeAccountTrackerService(); | |
| 24 virtual ~FakeAccountTrackerService(); | |
| 25 | |
| 26 virtual void StartFetchingUserInfo(const std::string& account_id) OVERRIDE; | |
| 27 | |
| 28 DISALLOW_COPY_AND_ASSIGN(FakeAccountTrackerService); | |
| 29 }; | |
| 30 | |
| 31 #endif // CHROME_BROWSER_SIGNIN_FAKE_ACCOUNT_TRACKER_SERVICE_H_ | |
| OLD | NEW |