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

Unified Diff: google_apis/gcm/engine/mcs_client_unittest.cc

Issue 1183843002: Do not create GCM store if it is not needed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix trybots Created 5 years, 6 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/engine/mcs_client_unittest.cc
diff --git a/google_apis/gcm/engine/mcs_client_unittest.cc b/google_apis/gcm/engine/mcs_client_unittest.cc
index 644c702ab76f7b50503163e4c93b6052c5fa11e8..1e76e47033bbda33178a0dbe9cabe3c87478b688 100644
--- a/google_apis/gcm/engine/mcs_client_unittest.cc
+++ b/google_apis/gcm/engine/mcs_client_unittest.cc
@@ -198,7 +198,7 @@ void MCSClientTest::BuildMCSClient() {
}
void MCSClientTest::InitializeClient() {
- gcm_store_->Load(base::Bind(
+ gcm_store_->Load(GCMStore::CREATE_NEW_STORE_IF_NOT_EXISTS, base::Bind(
&MCSClient::Initialize,
base::Unretained(mcs_client_.get()),
base::Bind(&MCSClientTest::ErrorCallback,

Powered by Google App Engine
This is Rietveld 408576698