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

Side by Side Diff: components/policy/core/common/policy_provider_android_delegate.h

Issue 155923002: Add a platform policy provider for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 6 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_PROVIDER_ANDROID_DELEGATE_H_
6 #define COMPONENTS_POLICY_CORE_COMMON_POLICY_PROVIDER_ANDROID_DELEGATE_H_
7
8 #include "base/compiler_specific.h"
9
10 namespace policy {
11
12 // A delegate for the Android policy provider. This class is responsible for
13 // setting policies on the PolicyProviderAndroid and refreshing them on demand.
14 class POLICY_EXPORT PolicyProviderAndroidDelegate {
15 public:
16 // Called to refresh policies. If this method is called, the delegate must
17 // eventually call SetPolicies on the provider.
18 virtual void RefreshPolicies() = 0;
19
20 // Called before the provider is destroyed.
21 virtual void PolicyProviderShutdown() = 0;
22
23 protected:
24 virtual ~PolicyProviderAndroidDelegate() {}
25 };
26
27 } // namespace policy
28
29 #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_PROVIDER_ANDROID_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698