| 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_WEB_DATA_SERVICE_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_WEB_DATA_SERVICE_FACTORY_H_ |
| 6 #define CHROME_BROWSER_WEB_DATA_SERVICE_FACTORY_H_ | 6 #define CHROME_BROWSER_WEB_DATA_SERVICE_FACTORY_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "build/build_config.h" |
| 10 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 11 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
| 11 #include "components/keyed_service/core/service_access_type.h" | 12 #include "components/keyed_service/core/service_access_type.h" |
| 12 | 13 |
| 13 namespace base { | 14 namespace base { |
| 14 template <typename T> struct DefaultSingletonTraits; | 15 template <typename T> struct DefaultSingletonTraits; |
| 15 } | 16 } |
| 16 | 17 |
| 17 class KeywordWebDataService; | 18 class KeywordWebDataService; |
| 18 class Profile; | 19 class Profile; |
| 19 class TokenWebData; | 20 class TokenWebData; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 content::BrowserContext* GetBrowserContextToUse( | 73 content::BrowserContext* GetBrowserContextToUse( |
| 73 content::BrowserContext* context) const override; | 74 content::BrowserContext* context) const override; |
| 74 KeyedService* BuildServiceInstanceFor( | 75 KeyedService* BuildServiceInstanceFor( |
| 75 content::BrowserContext* profile) const override; | 76 content::BrowserContext* profile) const override; |
| 76 bool ServiceIsNULLWhileTesting() const override; | 77 bool ServiceIsNULLWhileTesting() const override; |
| 77 | 78 |
| 78 DISALLOW_COPY_AND_ASSIGN(WebDataServiceFactory); | 79 DISALLOW_COPY_AND_ASSIGN(WebDataServiceFactory); |
| 79 }; | 80 }; |
| 80 | 81 |
| 81 #endif // CHROME_BROWSER_WEB_DATA_SERVICE_FACTORY_H_ | 82 #endif // CHROME_BROWSER_WEB_DATA_SERVICE_FACTORY_H_ |
| OLD | NEW |