1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
android_webview / browser / aw_browser_policy_connector.h [blame]
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ANDROID_WEBVIEW_BROWSER_AW_BROWSER_POLICY_CONNECTOR_H_
#define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_POLICY_CONNECTOR_H_
#include "components/policy/core/browser/browser_policy_connector_base.h"
namespace android_webview {
// Sets up and keeps the browser-global policy objects such as the PolicyService
// and the platform-specific PolicyProvider.
// Lifetime: Singleton
class AwBrowserPolicyConnector : public policy::BrowserPolicyConnectorBase {
public:
AwBrowserPolicyConnector();
AwBrowserPolicyConnector(const AwBrowserPolicyConnector&) = delete;
AwBrowserPolicyConnector& operator=(const AwBrowserPolicyConnector&) = delete;
~AwBrowserPolicyConnector() override;
protected:
// policy::BrowserPolicyConnectorBase:
std::vector<std::unique_ptr<policy::ConfigurationPolicyProvider>>
CreatePolicyProviders() override;
};
} // namespace android_webview
#endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_POLICY_CONNECTOR_H_