Remove InstanceID.GetToken options argument
Reactivated UMA still shows zero usage of this and the extensions API
was the only user. Remove it as this won't be supported in the upcoming
FCM API migration anyway.
Bug: 1148321
Change-Id: I6382efeba8d98353d46da8915613015c745c2b4a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2549929
Commit-Queue: Richard Knoll <[email protected]>
Reviewed-by: Martin Kreichgauer <[email protected]>
Reviewed-by: Marc Treib <[email protected]>
Reviewed-by: Karan Bhatia <[email protected]>
Reviewed-by: Peter Beverloo <[email protected]>
Reviewed-by: Caitlin Fischer <[email protected]>
Cr-Commit-Position: refs/heads/master@{#835625}
diff --git a/components/gcm_driver/fake_gcm_profile_service.cc b/components/gcm_driver/fake_gcm_profile_service.cc
index d2db2d1f..3be4335 100644
--- a/components/gcm_driver/fake_gcm_profile_service.cc
+++ b/components/gcm_driver/fake_gcm_profile_service.cc
@@ -63,7 +63,6 @@
const std::string& authorized_entity,
const std::string& scope,
base::TimeDelta time_to_live,
- const std::map<std::string, std::string>& options,
GetTokenCallback callback) override;
void DeleteToken(const std::string& app_id,
const std::string& authorized_entity,
@@ -189,14 +188,12 @@
const std::string& authorized_entity,
const std::string& scope,
base::TimeDelta time_to_live,
- const std::map<std::string, std::string>& options,
GetTokenCallback callback) {
if (service_->is_offline_)
return; // Drop request.
instance_id::FakeGCMDriverForInstanceID::GetToken(
- app_id, authorized_entity, scope, time_to_live, options,
- std::move(callback));
+ app_id, authorized_entity, scope, time_to_live, std::move(callback));
}
void FakeGCMProfileService::CustomFakeGCMDriver::DeleteToken(