Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: ios/chrome/browser/invalidation/ios_chrome_profile_invalidation_provider_factory.mm

Issue 2705293014: Created web::UserAgentType. (Closed)
Patch Set: Eugene's comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/invalidation/ios_chrome_profile_invalidation_provider_factory.mm
diff --git a/ios/chrome/browser/invalidation/ios_chrome_profile_invalidation_provider_factory.mm b/ios/chrome/browser/invalidation/ios_chrome_profile_invalidation_provider_factory.mm
index 25bfa0984809ac869184f2e971f18b8364006eca..00bdf14b62027868138635a56e2809209373a49f 100644
--- a/ios/chrome/browser/invalidation/ios_chrome_profile_invalidation_provider_factory.mm
+++ b/ios/chrome/browser/invalidation/ios_chrome_profile_invalidation_provider_factory.mm
@@ -76,7 +76,8 @@ new ProfileIdentityProvider(
base::Closure()));
std::unique_ptr<TiclInvalidationService> service(new TiclInvalidationService(
- web::GetWebClient()->GetUserAgent(false), std::move(identity_provider),
+ web::GetWebClient()->GetUserAgent(web::UserAgentType::MOBILE),
+ std::move(identity_provider),
base::MakeUnique<invalidation::TiclProfileSettingsProvider>(
browser_state->GetPrefs()),
IOSChromeGCMProfileServiceFactory::GetForBrowserState(browser_state)
« no previous file with comments | « no previous file | ios/chrome/browser/ios_chrome_io_thread.mm » ('j') | ios/web/navigation/navigation_manager_impl.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698