diff options
Diffstat (limited to 'chromium/chrome/browser/gcm/gcm_profile_service_factory.cc')
-rw-r--r-- | chromium/chrome/browser/gcm/gcm_profile_service_factory.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/chrome/browser/gcm/gcm_profile_service_factory.cc b/chromium/chrome/browser/gcm/gcm_profile_service_factory.cc index 064e2df8721..d92e7e25aa6 100644 --- a/chromium/chrome/browser/gcm/gcm_profile_service_factory.cc +++ b/chromium/chrome/browser/gcm/gcm_profile_service_factory.cc @@ -12,7 +12,9 @@ #include "build/build_config.h" #include "chrome/browser/profiles/incognito_helpers.h" #include "chrome/browser/profiles/profile.h" +#ifndef TOOLKIT_QT #include "chrome/browser/profiles/profile_key.h" +#endif #include "chrome/browser/signin/identity_manager_factory.h" #include "components/gcm_driver/gcm_profile_service.h" #include "components/keyed_service/content/browser_context_dependency_manager.h" @@ -145,7 +147,11 @@ KeyedService* GCMProfileServiceFactory::BuildServiceInstanceFor( base::BindRepeating(&RequestProxyResolvingSocketFactory, profile), profile->GetDefaultStoragePartition() ->GetURLLoaderFactoryForBrowserProcess(), +#ifndef TOOLKIT_QT content::GetNetworkConnectionTracker(), chrome::GetChannel(), +#else + content::GetNetworkConnectionTracker(), version_info::Channel::STABLE, +#endif gcm::GetProductCategoryForSubtypes(profile->GetPrefs()), IdentityManagerFactory::GetForProfile(profile), std::make_unique<GCMClientFactory>(), content::GetUIThreadTaskRunner({}), |