| Index: chrome/browser/android/webapk/webapk_install_service_factory.cc
|
| diff --git a/chrome/browser/android/webapk/webapk_install_service_factory.cc b/chrome/browser/android/webapk/webapk_install_service_factory.cc
|
| index 504532c479f52af1acd66fd027376f1c262dda14..779d06ea8a1d55191a02e583c950f6f6f9eb548f 100644
|
| --- a/chrome/browser/android/webapk/webapk_install_service_factory.cc
|
| +++ b/chrome/browser/android/webapk/webapk_install_service_factory.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/android/webapk/webapk_install_service_factory.h"
|
|
|
| #include "chrome/browser/android/webapk/webapk_install_service.h"
|
| +#include "chrome/browser/profiles/incognito_helpers.h"
|
| #include "components/keyed_service/content/browser_context_dependency_manager.h"
|
|
|
| // static
|
| @@ -30,3 +31,8 @@ KeyedService* WebApkInstallServiceFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* context) const {
|
| return new WebApkInstallService(context);
|
| }
|
| +
|
| +content::BrowserContext* WebApkInstallServiceFactory::GetBrowserContextToUse(
|
| + content::BrowserContext* context) const {
|
| + return chrome::GetBrowserContextRedirectedInIncognito(context);
|
| +}
|
|
|