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

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 review comments 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..d79017788a36c53fc7a525140bc1f00b7c40cc5e 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& category_for_subtypes,
std::unique_ptr<ProfileIdentityProvider> identity_provider,
std::unique_ptr<GCMClientFactory> gcm_client_factory,
const scoped_refptr<base::SequencedTaskRunner>& ui_task_runner,
@@ -150,7 +151,8 @@ 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,
+ request_context_, channel,
+ category_for_subtypes, ui_task_runner,
io_task_runner, blocking_task_runner);
identity_observer_.reset(new IdentityObserver(

Powered by Google App Engine
This is Rietveld 408576698