Index: components/policy/core/common/async_policy_provider_unittest.cc |
diff --git a/components/policy/core/common/async_policy_provider_unittest.cc b/components/policy/core/common/async_policy_provider_unittest.cc |
index 587d693c341fa546423e1d45efebbf57f731c953..2d3b1ca6c5d5ab6b5d3c5d13a4bd22385deadacf 100644 |
--- a/components/policy/core/common/async_policy_provider_unittest.cc |
+++ b/components/policy/core/common/async_policy_provider_unittest.cc |
@@ -47,6 +47,7 @@ class MockPolicyLoader : public AsyncPolicyLoader { |
// call to MockLoad() which returns a PolicyBundle*, and returns a copy |
// wrapped in a passed scoped_ptr. |
scoped_ptr<PolicyBundle> Load() override; |
+ PolicySource source() const override; |
Thiemo Nagel
2015/09/01 17:40:36
Remove.
fhorschig
2015/09/04 06:53:54
Done.
|
MOCK_METHOD0(MockLoad, const PolicyBundle*()); |
MOCK_METHOD0(InitOnBackgroundThread, void()); |
@@ -72,6 +73,10 @@ scoped_ptr<PolicyBundle> MockPolicyLoader::Load() { |
return bundle.Pass(); |
} |
+PolicySource MockPolicyLoader::source() const { |
Thiemo Nagel
2015/09/01 17:40:36
Remove.
fhorschig
2015/09/04 06:53:54
Done.
|
+ return POLICY_SOURCE_DEFAULT; |
+} |
+ |
} // namespace |
class AsyncPolicyProviderTest : public testing::Test { |