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

Unified Diff: chrome/browser/policy/configuration_policy_pref_store_unittest.cc

Issue 6894020: Adds async interface method to PersistentPrefStore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: prevent multiple calls when failed Created 9 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
Index: chrome/browser/policy/configuration_policy_pref_store_unittest.cc
diff --git a/chrome/browser/policy/configuration_policy_pref_store_unittest.cc b/chrome/browser/policy/configuration_policy_pref_store_unittest.cc
index f78043050adab6a70704826ec2cc70329536878c..87aad701942fc53faccfe08aeb8d15be02f9f506 100644
--- a/chrome/browser/policy/configuration_policy_pref_store_unittest.cc
+++ b/chrome/browser/policy/configuration_policy_pref_store_unittest.cc
@@ -825,7 +825,7 @@ TEST_F(ConfigurationPolicyPrefStoreRefreshTest, Refresh) {
TEST_F(ConfigurationPolicyPrefStoreRefreshTest, Initialization) {
EXPECT_FALSE(store_->IsInitializationComplete());
- EXPECT_CALL(observer_, OnInitializationCompleted()).Times(1);
+ EXPECT_CALL(observer_, OnInitializationCompleted(true)).Times(1);
provider_.SetInitializationComplete(true);
EXPECT_FALSE(store_->IsInitializationComplete());

Powered by Google App Engine
This is Rietveld 408576698