OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_FAVICON_FAVICON_SERVICE_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_FAVICON_FAVICON_SERVICE_FACTORY_H_ |
6 #define CHROME_BROWSER_FAVICON_FAVICON_SERVICE_FACTORY_H_ | 6 #define CHROME_BROWSER_FAVICON_FAVICON_SERVICE_FACTORY_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 9 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
9 #include "components/keyed_service/core/service_access_type.h" | 10 #include "components/keyed_service/core/service_access_type.h" |
10 | 11 |
11 namespace base { | 12 namespace base { |
12 template <typename T> struct DefaultSingletonTraits; | 13 template <typename T> struct DefaultSingletonTraits; |
13 } | 14 } |
14 | 15 |
15 class Profile; | 16 class Profile; |
16 | 17 |
17 namespace favicon { | 18 namespace favicon { |
(...skipping 24 matching lines...) Expand all Loading... |
42 | 43 |
43 // BrowserContextKeyedServiceFactory: | 44 // BrowserContextKeyedServiceFactory: |
44 KeyedService* BuildServiceInstanceFor( | 45 KeyedService* BuildServiceInstanceFor( |
45 content::BrowserContext* profile) const override; | 46 content::BrowserContext* profile) const override; |
46 bool ServiceIsNULLWhileTesting() const override; | 47 bool ServiceIsNULLWhileTesting() const override; |
47 | 48 |
48 DISALLOW_COPY_AND_ASSIGN(FaviconServiceFactory); | 49 DISALLOW_COPY_AND_ASSIGN(FaviconServiceFactory); |
49 }; | 50 }; |
50 | 51 |
51 #endif // CHROME_BROWSER_FAVICON_FAVICON_SERVICE_FACTORY_H_ | 52 #endif // CHROME_BROWSER_FAVICON_FAVICON_SERVICE_FACTORY_H_ |
OLD | NEW |