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

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

Issue 10386097: Refactored ConfigurationPolicyProvider to provide PolicyBundles instead of PolicyMaps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added new unit test Created 8 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/policy_service_stub.cc
diff --git a/chrome/browser/policy/policy_service_stub.cc b/chrome/browser/policy/policy_service_stub.cc
index c977f60a0cb0f54f8590633c840aac1cbc6ab689..ba03bb3f2e376a9868fdd88dbd41e342aaf024f6 100644
--- a/chrome/browser/policy/policy_service_stub.cc
+++ b/chrome/browser/policy/policy_service_stub.cc
@@ -20,10 +20,10 @@ void PolicyServiceStub::RemoveObserver(PolicyDomain domain,
const std::string& component_id,
Observer* observer) {}
-const PolicyMap* PolicyServiceStub::GetPolicies(
+const PolicyMap& PolicyServiceStub::GetPolicies(
PolicyDomain domain,
const std::string& component_id) const {
- return NULL;
+ return kEmpty_;
};
bool PolicyServiceStub::IsInitializationComplete() const {

Powered by Google App Engine
This is Rietveld 408576698