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

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

Issue 8586030: Added ConfigurationPolicyProvider::RefreshPolicies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simpler AsyncLoader, fixed unit_tests, added connector::RefreshPolicies Created 9 years, 1 month 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_provider_test.cc
diff --git a/chrome/browser/policy/configuration_policy_provider_test.cc b/chrome/browser/policy/configuration_policy_provider_test.cc
index 6997e6140c7d42665c937a36890add40020906aa..dc8766714f2d0549d4eec79ebe597ad95286de4b 100644
--- a/chrome/browser/policy/configuration_policy_provider_test.cc
+++ b/chrome/browser/policy/configuration_policy_provider_test.cc
@@ -76,7 +76,7 @@ void ConfigurationPolicyProviderTest::CheckValue(
base::Closure install_value) {
// Install the value, reload policy and check the provider for the value.
install_value.Run();
- provider_->ForceReload();
+ provider_->RefreshPolicies();
loop_.RunAllPending();
PolicyMap policy_map;
EXPECT_TRUE(provider_->Provide(&policy_map));
@@ -86,7 +86,7 @@ void ConfigurationPolicyProviderTest::CheckValue(
}
TEST_P(ConfigurationPolicyProviderTest, Empty) {
- provider_->ForceReload();
+ provider_->RefreshPolicies();
loop_.RunAllPending();
PolicyMap policy_map;
EXPECT_TRUE(provider_->Provide(&policy_map));

Powered by Google App Engine
This is Rietveld 408576698