Index: components/gcm_driver/gcm_driver.cc |
diff --git a/components/gcm_driver/gcm_driver.cc b/components/gcm_driver/gcm_driver.cc |
index db98afa9bb6029d7807797037e1c5cbc64576a86..9594492da8fb63fcc7746cbfd0f307f0f3e086d5 100644 |
--- a/components/gcm_driver/gcm_driver.cc |
+++ b/components/gcm_driver/gcm_driver.cc |
@@ -187,6 +187,13 @@ void GCMDriver::RegisterFinished(const std::string& app_id, |
callback.Run(registration_id, result); |
} |
+void GCMDriver::RemoveEncryptionInfoAfterUnregister(const std::string& app_id, |
+ GCMClient::Result result) { |
+ encryption_provider_.RemoveEncryptionInfo( |
+ app_id, base::Bind(&GCMDriver::UnregisterFinished, |
+ weak_ptr_factory_.GetWeakPtr(), app_id, result)); |
+} |
+ |
void GCMDriver::UnregisterFinished(const std::string& app_id, |
GCMClient::Result result) { |
std::map<std::string, UnregisterCallback>::iterator callback_iter = |