OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_HISTORY_TOP_SITES_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_TOP_SITES_FACTORY_H_ |
6 #define CHROME_BROWSER_HISTORY_TOP_SITES_FACTORY_H_ | 6 #define CHROME_BROWSER_HISTORY_TOP_SITES_FACTORY_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 29 matching lines...) Expand all Loading... | |
40 | 40 |
41 private: | 41 private: |
42 friend struct DefaultSingletonTraits<TopSitesFactory>; | 42 friend struct DefaultSingletonTraits<TopSitesFactory>; |
43 | 43 |
44 TopSitesFactory(); | 44 TopSitesFactory(); |
45 ~TopSitesFactory() override; | 45 ~TopSitesFactory() override; |
46 | 46 |
47 // Overridden from BrowserContextKeyedServiceFactory. | 47 // Overridden from BrowserContextKeyedServiceFactory. |
48 scoped_refptr<RefcountedKeyedService> BuildServiceInstanceFor( | 48 scoped_refptr<RefcountedKeyedService> BuildServiceInstanceFor( |
49 content::BrowserContext* context) const override; | 49 content::BrowserContext* context) const override; |
50 void RegisterProfilePrefs( | |
gab
2015/05/20 18:58:49
Where is this called from? I don't see any new cal
Dan Beam
2015/05/20 19:16:00
note the "override"
https://code.google.com/p/chr
| |
51 user_prefs::PrefRegistrySyncable* registry) override; | |
50 bool ServiceIsNULLWhileTesting() const override; | 52 bool ServiceIsNULLWhileTesting() const override; |
51 | 53 |
52 DISALLOW_COPY_AND_ASSIGN(TopSitesFactory); | 54 DISALLOW_COPY_AND_ASSIGN(TopSitesFactory); |
53 }; | 55 }; |
54 | 56 |
55 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_FACTORY_H_ | 57 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_FACTORY_H_ |
OLD | NEW |