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

Unified Diff: components/gcm_driver/gcm_account_mapper_unittest.cc

Issue 2578583002: Provide a mechanism for the GCM driver to send message receipts to GCM.
Patch Set: Adding new file I missed previously. Created 3 years, 11 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_account_mapper_unittest.cc
diff --git a/components/gcm_driver/gcm_account_mapper_unittest.cc b/components/gcm_driver/gcm_account_mapper_unittest.cc
index e9013e58aa2ff44118b59206b43274b447120935..db0818077d8ac4c36f5c91203f9d8b0adeb5cd77 100644
--- a/components/gcm_driver/gcm_account_mapper_unittest.cc
+++ b/components/gcm_driver/gcm_account_mapper_unittest.cc
@@ -247,7 +247,8 @@ class GCMAccountMapperTest : public testing::Test {
return account_mapper_->accounts_;
}
void MessageReceived(const std::string& app_id,
- const IncomingMessage& message);
+ const IncomingMessage& message,
+ const GCMClient::MessageReceiptCallback& callback);
GCMAccountMapper* mapper() { return account_mapper_.get(); }
@@ -293,8 +294,10 @@ void GCMAccountMapperTest::Initialize(
base::Unretained(this)));
}
-void GCMAccountMapperTest::MessageReceived(const std::string& app_id,
- const IncomingMessage& message) {
+void GCMAccountMapperTest::MessageReceived(
+ const std::string& app_id,
+ const IncomingMessage& message,
+ const GCMClient::MessageReceiptCallback& callback) {
last_received_app_id_ = app_id;
last_received_message_ = message;
}

Powered by Google App Engine
This is Rietveld 408576698