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

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

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.cc ('k') | chrome/browser/policy/policy_service_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/policy_service_stub.h
diff --git a/chrome/browser/policy/policy_service_stub.h b/chrome/browser/policy/policy_service_stub.h
index a15e11a6a94752cd29ad9cc4f3cde8ae4bd9d616..faea17cff97bc284c455283d21b7e9be7f335050 100644
--- a/chrome/browser/policy/policy_service_stub.h
+++ b/chrome/browser/policy/policy_service_stub.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_POLICY_POLICY_SERVICE_STUB_H_
#include "base/basictypes.h"
+#include "chrome/browser/policy/policy_bundle.h"
#include "chrome/browser/policy/policy_map.h"
#include "chrome/browser/policy/policy_service.h"
@@ -31,11 +32,14 @@ class PolicyServiceStub : public PolicyService {
virtual const PolicyMap& GetPolicies(
const PolicyNamespace& ns) const OVERRIDE;
+ virtual const PolicyBundle& GetAllPolicies() const OVERRIDE;
+
virtual bool IsInitializationComplete(PolicyDomain domain) const OVERRIDE;
virtual void RefreshPolicies(const base::Closure& callback) OVERRIDE;
private:
- const PolicyMap kEmpty_;
+ const PolicyMap kEmptyMap_;
+ const PolicyBundle kEmptyBundle_;
DISALLOW_COPY_AND_ASSIGN(PolicyServiceStub);
};
« no previous file with comments | « chrome/browser/policy/policy_service_impl.cc ('k') | chrome/browser/policy/policy_service_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698