| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_ANDROID_WEBAPK_WEBAPK_INSTALL_SERVICE_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_INSTALL_SERVICE_FACTORY_H_ |
| 6 #define CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_INSTALL_SERVICE_FACTORY_H_ | 6 #define CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_INSTALL_SERVICE_FACTORY_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/singleton.h" | 9 #include "base/memory/singleton.h" |
| 10 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 10 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 private: | 22 private: |
| 23 friend struct base::DefaultSingletonTraits<WebApkInstallServiceFactory>; | 23 friend struct base::DefaultSingletonTraits<WebApkInstallServiceFactory>; |
| 24 | 24 |
| 25 WebApkInstallServiceFactory(); | 25 WebApkInstallServiceFactory(); |
| 26 ~WebApkInstallServiceFactory() override; | 26 ~WebApkInstallServiceFactory() override; |
| 27 | 27 |
| 28 KeyedService* BuildServiceInstanceFor( | 28 KeyedService* BuildServiceInstanceFor( |
| 29 content::BrowserContext* context) const override; | 29 content::BrowserContext* context) const override; |
| 30 | 30 |
| 31 content::BrowserContext* GetBrowserContextToUse( |
| 32 content::BrowserContext* context) const override; |
| 33 |
| 31 DISALLOW_COPY_AND_ASSIGN(WebApkInstallServiceFactory); | 34 DISALLOW_COPY_AND_ASSIGN(WebApkInstallServiceFactory); |
| 32 }; | 35 }; |
| 33 | 36 |
| 34 #endif // CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_INSTALL_SERVICE_FACTORY_H_ | 37 #endif // CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_INSTALL_SERVICE_FACTORY_H_ |
| OLD | NEW |