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

Unified Diff: google_apis/gcm/engine/instance_id_delete_token_request_handler.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
Index: google_apis/gcm/engine/instance_id_delete_token_request_handler.cc
diff --git a/google_apis/gcm/engine/instance_id_delete_token_request_handler.cc b/google_apis/gcm/engine/instance_id_delete_token_request_handler.cc
index 35dac620bc0f9bdff43defad4059a38b5dac0e37..7e5d232cee00c3602962e0141ad5cac7781cd383 100644
--- a/google_apis/gcm/engine/instance_id_delete_token_request_handler.cc
+++ b/google_apis/gcm/engine/instance_id_delete_token_request_handler.cc
@@ -19,7 +19,6 @@ namespace {
const char kGMSVersionKey[] = "gmsv";
const char kInstanceIDKey[] = "appid";
const char kSenderKey[] = "sender";
-const char kSubtypeKey[] = "X-subtype";
const char kScopeKey[] = "scope";
const char kExtraScopeKey[] = "X-scope";
@@ -52,9 +51,6 @@ void InstanceIDDeleteTokenRequestHandler::BuildRequestBody(std::string* body){
BuildFormEncoding(kScopeKey, scope_, body);
BuildFormEncoding(kExtraScopeKey, scope_, body);
BuildFormEncoding(kGMSVersionKey, base::IntToString(gcm_version_), body);
- // TODO(jianli): To work around server bug. To be removed when the server fix
- // is deployed.
- BuildFormEncoding(kSubtypeKey, authorized_entity_, body);
}
UnregistrationRequest::Status
« no previous file with comments | « google_apis/gcm/engine/gcm_request_test_base.cc ('k') | google_apis/gcm/engine/instance_id_get_token_request_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698