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

Unified Diff: components/gcm_driver/gcm_profile_service.cc

Issue 2111973002: Add support for GCM subtypes to desktop Instance ID implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iid9push
Patch Set: address most of peter's concerns Created 4 years, 5 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: components/gcm_driver/gcm_profile_service.cc
diff --git a/components/gcm_driver/gcm_profile_service.cc b/components/gcm_driver/gcm_profile_service.cc
index 6cdb49bb09e5b06a5f975c98dfe1c47e8c318b5c..65da7f68d05425fb132c3c263a9cb5531275c79a 100644
--- a/components/gcm_driver/gcm_profile_service.cc
+++ b/components/gcm_driver/gcm_profile_service.cc
@@ -140,6 +140,7 @@ GCMProfileService::GCMProfileService(
PrefService* prefs,
base::FilePath path,
net::URLRequestContextGetter* request_context,
+ const std::string& product_shortname,
version_info::Channel channel,
std::unique_ptr<ProfileIdentityProvider> identity_provider,
std::unique_ptr<GCMClientFactory> gcm_client_factory,
@@ -150,8 +151,9 @@ GCMProfileService::GCMProfileService(
request_context_(request_context) {
driver_ = CreateGCMDriverDesktop(std::move(gcm_client_factory), prefs,
path.Append(gcm_driver::kGCMStoreDirname),
- request_context_, channel, ui_task_runner,
- io_task_runner, blocking_task_runner);
+ request_context_, product_shortname, channel,
+ ui_task_runner, io_task_runner,
+ blocking_task_runner);
identity_observer_.reset(new IdentityObserver(
profile_identity_provider_.get(), request_context_, driver_.get()));

Powered by Google App Engine
This is Rietveld 408576698