Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ios / chrome / browser / net / http_server_properties_manager_factory.h
blob03ced09a59a35560c431140b4c6d5ea41459eecd
1 // Copyright 2015 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 IOS_CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_
6 #define IOS_CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_
8 #include "base/macros.h"
10 class PrefService;
12 namespace net {
13 class HttpServerPropertiesManager;
16 namespace user_prefs {
17 class PrefRegistrySyncable;
20 // Class for registration and creation of HttpServerPropertiesManager
21 class HttpServerPropertiesManagerFactory {
22 public:
23 // Create an instance of HttpServerPropertiesManager.
24 static net::HttpServerPropertiesManager* CreateManager(
25 PrefService* pref_service);
27 // Register prefs for properties managed by HttpServerPropertiesManager.
28 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
30 private:
31 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManagerFactory);
34 #endif // IOS_CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_