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_BROWSER_BROWSER_POLICY_CONNECTOR_IOS_H_
6 #define COMPONENTS_POLICY_CORE_BROWSER_BROWSER_POLICY_CONNECTOR_IOS_H_
10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "components/policy/core/browser/browser_policy_connector.h"
13 #include "components/policy/policy_export.h"
17 // Extends BrowserPolicyConnector with the setup for iOS builds.
18 class POLICY_EXPORT BrowserPolicyConnectorIOS : public BrowserPolicyConnector {
20 BrowserPolicyConnectorIOS(const HandlerListFactory& handler_list_factory,
21 const std::string& user_agent);
23 virtual ~BrowserPolicyConnectorIOS();
26 PrefService* local_state,
27 scoped_refptr<net::URLRequestContextGetter> request_context) OVERRIDE;
30 std::string user_agent_;
32 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnectorIOS);
37 #endif // COMPONENTS_POLICY_CORE_BROWSER_BROWSER_POLICY_CONNECTOR_IOS_H_