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

Unified Diff: chrome/browser/chromeos/policy/proxy_policy_provider_unittest.cc

Issue 56623005: Policy providers all get a SchemaRegistry to work with. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@chrome-policy-schema-9-purge-with-callback
Patch Set: Fixed mac tests Created 7 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/chromeos/policy/proxy_policy_provider_unittest.cc
diff --git a/chrome/browser/chromeos/policy/proxy_policy_provider_unittest.cc b/chrome/browser/chromeos/policy/proxy_policy_provider_unittest.cc
index 922c547f351b568c9a0b02ac0fafc4e42d90fbbd..fe464bc0633cb738e3a4d2c675416b2ed7593bd2 100644
--- a/chrome/browser/chromeos/policy/proxy_policy_provider_unittest.cc
+++ b/chrome/browser/chromeos/policy/proxy_policy_provider_unittest.cc
@@ -18,7 +18,7 @@ class ProxyPolicyProviderTest : public testing::Test {
protected:
ProxyPolicyProviderTest() {
mock_provider_.Init();
- proxy_provider_.Init();
+ proxy_provider_.Init(&schema_registry_);
proxy_provider_.AddObserver(&observer_);
}
@@ -28,6 +28,7 @@ class ProxyPolicyProviderTest : public testing::Test {
mock_provider_.Shutdown();
}
+ SchemaRegistry schema_registry_;
bartfab (slow) 2013/11/05 15:53:04 #include "chrome/browser/policy/schema_registry.h"
Joao da Silva 2013/11/07 13:15:00 Done.
MockConfigurationPolicyObserver observer_;
MockConfigurationPolicyProvider mock_provider_;
ProxyPolicyProvider proxy_provider_;

Powered by Google App Engine
This is Rietveld 408576698