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

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

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 | « no previous file | components/policy/core/common/policy_provider_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/policy_provider_android.h
diff --git a/components/policy/core/common/policy_provider_android.h b/components/policy/core/common/policy_provider_android.h
index f2fbefb493f1c2460f5a2e7413ef7052de0408df..c9d900cfe9c72f8835995cc865cc97a8d20a88ab 100644
--- a/components/policy/core/common/policy_provider_android.h
+++ b/components/policy/core/common/policy_provider_android.h
@@ -12,6 +12,7 @@
namespace policy {
class PolicyProviderAndroidDelegate;
+class Schema;
// Provider for policies set by the Android platform.
class POLICY_EXPORT PolicyProviderAndroid : public ConfigurationPolicyProvider {
@@ -25,6 +26,9 @@ class POLICY_EXPORT PolicyProviderAndroid : public ConfigurationPolicyProvider {
// been called at least once, otherwise it will return true immediately.
static void SetShouldWaitForPolicy(bool should_wait_for_policy);
+ // Returns the schema for Chrome policies.
+ const Schema* GetChromeSchema() const;
+
void SetDelegate(PolicyProviderAndroidDelegate* delegate);
void SetPolicies(scoped_ptr<PolicyBundle> policy);
« no previous file with comments | « no previous file | components/policy/core/common/policy_provider_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698