Index: components/gcm_driver/gcm_client_impl_unittest.cc |
diff --git a/components/gcm_driver/gcm_client_impl_unittest.cc b/components/gcm_driver/gcm_client_impl_unittest.cc |
index c0d3e822934184a6e757214c7940d8a30860aec9..62416c986f6860657cf483008ece5824d0cb3d4e 100644 |
--- a/components/gcm_driver/gcm_client_impl_unittest.cc |
+++ b/components/gcm_driver/gcm_client_impl_unittest.cc |
@@ -258,7 +258,8 @@ class GCMClientImplTest : public testing::Test, |
const gcm::GCMClient::SendErrorDetails& send_error_details) OVERRIDE; |
virtual void OnSendAcknowledged(const std::string& app_id, |
const std::string& message_id) OVERRIDE; |
- virtual void OnGCMReady() OVERRIDE; |
+ virtual void OnGCMReady( |
+ const std::vector<AccountMapping>& account_mappings) OVERRIDE; |
virtual void OnActivityRecorded() OVERRIDE {} |
virtual void OnConnected(const net::IPEndPoint& ip_endpoint) OVERRIDE {} |
virtual void OnDisconnected() OVERRIDE {} |
@@ -490,9 +491,12 @@ void GCMClientImplTest::ReceiveOnMessageSentToMCS( |
gcm_client_->OnMessageSentToMCS(0LL, app_id, message_id, status); |
} |
-void GCMClientImplTest::OnGCMReady() { |
+void GCMClientImplTest::OnGCMReady( |
+ const std::vector<AccountMapping>& account_mappings) { |
last_event_ = LOADING_COMPLETED; |
QuitLoop(); |
+ // TODO(fgorski): Add scenario verifying contents of account_mappings, when |
+ // the list is not empty. |
} |
void GCMClientImplTest::OnMessageReceived( |