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

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

Issue 16254003: WIP (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « chrome/browser/policy/policy_service_impl.h ('k') | chrome/browser/policy/policy_service_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/policy_service_impl.cc
diff --git a/chrome/browser/policy/policy_service_impl.cc b/chrome/browser/policy/policy_service_impl.cc
index 1f126e804aab8dc415b544b88bd6f80a47cb529a..94be94f1ef3fef2c7634c4437bb0b24ccc9a9cf2 100644
--- a/chrome/browser/policy/policy_service_impl.cc
+++ b/chrome/browser/policy/policy_service_impl.cc
@@ -10,7 +10,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
#include "base/stl_util.h"
-#include "chrome/browser/policy/policy_map.h"
namespace policy {
@@ -86,6 +85,10 @@ const PolicyMap& PolicyServiceImpl::GetPolicies(
return policy_bundle_.Get(ns);
}
+const PolicyBundle& PolicyServiceImpl::GetAllPolicies() const {
+ return policy_bundle_;
+}
+
bool PolicyServiceImpl::IsInitializationComplete(PolicyDomain domain) const {
DCHECK(domain >= 0 && domain < POLICY_DOMAIN_SIZE);
return initialization_complete_[domain];
« no previous file with comments | « chrome/browser/policy/policy_service_impl.h ('k') | chrome/browser/policy/policy_service_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698