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

Unified Diff: components/policy/core/common/policy_provider_android.cc

Issue 329143003: Add a method to PolicyProviderAndroid to return the Chrome policy schema. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 6 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 | « components/policy/core/common/policy_provider_android.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/policy_provider_android.cc
diff --git a/components/policy/core/common/policy_provider_android.cc b/components/policy/core/common/policy_provider_android.cc
index d70fbe6904bdb6194646117cb348c6b181788495..e13a796b101b7e7a9a4ee1e06940339fd039fda6 100644
--- a/components/policy/core/common/policy_provider_android.cc
+++ b/components/policy/core/common/policy_provider_android.cc
@@ -19,6 +19,11 @@ PolicyProviderAndroid::PolicyProviderAndroid()
PolicyProviderAndroid::~PolicyProviderAndroid() {}
+const Schema* PolicyProviderAndroid::GetChromeSchema() const {
+ PolicyNamespace ns(POLICY_DOMAIN_CHROME, std::string());
+ return schema_map()->GetSchema(ns);
+}
+
// static
void PolicyProviderAndroid::SetShouldWaitForPolicy(
bool should_wait_for_policy) {
« no previous file with comments | « components/policy/core/common/policy_provider_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698