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())); |