Ignore title parameter for navigator.registerProtocolHandler
[chromium-blink-merge.git] / components / policy / core / common / policy_provider_android_delegate.h
blob94f8c4b8235380770569732f541130dab663e564
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.
5 #ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_PROVIDER_ANDROID_DELEGATE_H_
6 #define COMPONENTS_POLICY_CORE_COMMON_POLICY_PROVIDER_ANDROID_DELEGATE_H_
8 #include "base/compiler_specific.h"
10 namespace policy {
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;
20 // Called before the provider is destroyed.
21 virtual void PolicyProviderShutdown() = 0;
23 protected:
24 virtual ~PolicyProviderAndroidDelegate() {}
27 } // namespace policy
29 #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_PROVIDER_ANDROID_DELEGATE_H_