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

Unified Diff: chrome/browser/policy/policy_service_stub.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 win 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/policy/policy_service_stub.cc
diff --git a/chrome/browser/policy/policy_service_stub.cc b/chrome/browser/policy/policy_service_stub.cc
index afbd8ea17907585802bdcedcd3e7245cd909de99..c25b50fe39ed30ebe305c77b56823505895e5b67 100644
--- a/chrome/browser/policy/policy_service_stub.cc
+++ b/chrome/browser/policy/policy_service_stub.cc
@@ -5,7 +5,6 @@
#include "chrome/browser/policy/policy_service_stub.h"
#include "base/message_loop/message_loop.h"
-#include "chrome/browser/policy/policy_domain_descriptor.h"
namespace policy {
@@ -19,19 +18,11 @@ void PolicyServiceStub::AddObserver(PolicyDomain domain,
void PolicyServiceStub::RemoveObserver(PolicyDomain domain,
Observer* observer) {}
-void PolicyServiceStub::RegisterPolicyDomain(
- scoped_refptr<const PolicyDomainDescriptor> descriptor) {}
-
const PolicyMap& PolicyServiceStub::GetPolicies(
const PolicyNamespace& ns) const {
return kEmpty_;
};
-scoped_refptr<const PolicyDomainDescriptor>
-PolicyServiceStub::GetPolicyDomainDescriptor(PolicyDomain domain) const {
- return NULL;
-}
-
bool PolicyServiceStub::IsInitializationComplete(PolicyDomain domain) const {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698