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

Unified Diff: google_apis/gcm/gcm_client_impl_unittest.cc

Issue 165993005: [GCM] Make sure GCM checkout logic is invoked when the profile is signed out (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_tsan Created 6 years, 10 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: google_apis/gcm/gcm_client_impl_unittest.cc
diff --git a/google_apis/gcm/gcm_client_impl_unittest.cc b/google_apis/gcm/gcm_client_impl_unittest.cc
index 42ecf86975b3e663ce232e3816b622b3eb678723..fd6311402fa024c67e6ffc3a06626bb31d8c4e9c 100644
--- a/google_apis/gcm/gcm_client_impl_unittest.cc
+++ b/google_apis/gcm/gcm_client_impl_unittest.cc
@@ -284,6 +284,8 @@ void GCMClientImplTest::InitializeGCMClient() {
message_loop_.message_loop_proxy(),
url_request_context_getter_,
this);
+ // Starting loading and check-in.
+ gcm_client_->Load();
fgorski 2014/02/26 18:36:31 move after the encryptor update
jianli 2014/02/26 19:04:25 Done.
#if defined(OS_MACOSX)
// On OSX, prevent the Keychain permissions popup during unit tests.
Encryptor::UseMockKeychain(true); // Must be after Initialize.

Powered by Google App Engine
This is Rietveld 408576698