| 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_CHROMEOS_LAUNCHER_SEARCH_PROVIDER_LAUNCHER_SEARCH_PROVIDE
R_SERVICE_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LAUNCHER_SEARCH_PROVIDER_LAUNCHER_SEARCH_PROVIDE
R_SERVICE_FACTORY_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LAUNCHER_SEARCH_PROVIDER_LAUNCHER_SEARCH_PROVIDE
R_SERVICE_FACTORY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LAUNCHER_SEARCH_PROVIDER_LAUNCHER_SEARCH_PROVIDE
R_SERVICE_FACTORY_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/singleton.h" | 9 #include "base/memory/singleton.h" |
| 9 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 10 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
| 10 #include "content/public/browser/browser_context.h" | 11 #include "content/public/browser/browser_context.h" |
| 11 | 12 |
| 12 namespace chromeos { | 13 namespace chromeos { |
| 13 namespace launcher_search_provider { | 14 namespace launcher_search_provider { |
| 14 | 15 |
| 15 class Service; | 16 class Service; |
| 16 | 17 |
| 17 // Creates services per profile. | 18 // Creates services per profile. |
| (...skipping 16 matching lines...) Expand all Loading... |
| 34 content::BrowserContext* profile) const override; | 35 content::BrowserContext* profile) const override; |
| 35 bool ServiceIsCreatedWithBrowserContext() const override; | 36 bool ServiceIsCreatedWithBrowserContext() const override; |
| 36 | 37 |
| 37 DISALLOW_COPY_AND_ASSIGN(ServiceFactory); | 38 DISALLOW_COPY_AND_ASSIGN(ServiceFactory); |
| 38 }; | 39 }; |
| 39 | 40 |
| 40 } // namespace launcher_search_provider | 41 } // namespace launcher_search_provider |
| 41 } // namespace chromeos | 42 } // namespace chromeos |
| 42 | 43 |
| 43 #endif // CHROME_BROWSER_CHROMEOS_LAUNCHER_SEARCH_PROVIDER_LAUNCHER_SEARCH_PROV
IDER_SERVICE_FACTORY_H_ | 44 #endif // CHROME_BROWSER_CHROMEOS_LAUNCHER_SEARCH_PROVIDER_LAUNCHER_SEARCH_PROV
IDER_SERVICE_FACTORY_H_ |
| OLD | NEW |