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

Unified Diff: components/gcm_driver/gcm_driver.cc

Issue 1953273002: Add support to GCMKeyStore for multiple keys per app_id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iid6fixstore
Patch Set: Only EXPECT_DFATAL when LOG_DCHECK == LOG_DFATAL Created 4 years, 7 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/crypto/proto/gcm_encryption_data.proto ('k') | net/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/gcm_driver.cc
diff --git a/components/gcm_driver/gcm_driver.cc b/components/gcm_driver/gcm_driver.cc
index 5232c0d819f1d38ef3e68841404b52a8b4ace8f1..020d8efd223c04f3b8e518d1833305211dce3f0e 100644
--- a/components/gcm_driver/gcm_driver.cc
+++ b/components/gcm_driver/gcm_driver.cc
@@ -165,7 +165,8 @@ void GCMDriver::Send(const std::string& app_id,
void GCMDriver::GetEncryptionInfo(
const std::string& app_id,
const GetEncryptionInfoCallback& callback) {
- encryption_provider_.GetEncryptionInfo(app_id, callback);
+ encryption_provider_.GetEncryptionInfo(app_id, "" /* authorized_entity */,
+ callback);
}
void GCMDriver::UnregisterWithSenderIdImpl(const std::string& app_id,
@@ -191,8 +192,9 @@ void GCMDriver::RegisterFinished(const std::string& app_id,
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));
+ app_id, "" /* authorized_entity */,
+ base::Bind(&GCMDriver::UnregisterFinished, weak_ptr_factory_.GetWeakPtr(),
+ app_id, result));
}
void GCMDriver::UnregisterFinished(const std::string& app_id,
« no previous file with comments | « components/gcm_driver/crypto/proto/gcm_encryption_data.proto ('k') | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698