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

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: Remove channel from product_category_for_subtypes, and address nits Created 4 years, 4 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
« no previous file with comments | « components/gcm_driver/gcm_profile_service.h ('k') | components/gcm_driver/instance_id/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c113aa2eec263b7b96ab89d969ddf673d4d654d9 100644
--- a/components/gcm_driver/gcm_profile_service.cc
+++ b/components/gcm_driver/gcm_profile_service.cc
@@ -141,6 +141,7 @@ GCMProfileService::GCMProfileService(
base::FilePath path,
net::URLRequestContextGetter* request_context,
version_info::Channel channel,
+ const std::string& product_category_for_subtypes,
std::unique_ptr<ProfileIdentityProvider> identity_provider,
std::unique_ptr<GCMClientFactory> gcm_client_factory,
const scoped_refptr<base::SequencedTaskRunner>& ui_task_runner,
@@ -148,10 +149,11 @@ GCMProfileService::GCMProfileService(
scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner)
: profile_identity_provider_(std::move(identity_provider)),
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);
+ driver_ = CreateGCMDriverDesktop(
+ std::move(gcm_client_factory), prefs,
+ path.Append(gcm_driver::kGCMStoreDirname), request_context_, channel,
+ product_category_for_subtypes, ui_task_runner, io_task_runner,
+ blocking_task_runner);
identity_observer_.reset(new IdentityObserver(
profile_identity_provider_.get(), request_context_, driver_.get()));
« no previous file with comments | « components/gcm_driver/gcm_profile_service.h ('k') | components/gcm_driver/instance_id/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698