1116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// Copyright 2014 The Chromium Authors. All rights reserved.
2116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// Use of this source code is governed by a BSD-style license that can be
3116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// found in the LICENSE file.
4116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
5116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#ifndef CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_
6116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#define CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_
7116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
8116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#include "base/macros.h"
9116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
10116680a4aac90f2aa7413d9095a592090648e557Ben Murdochclass PrefService;
11116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
12116680a4aac90f2aa7413d9095a592090648e557Ben Murdochnamespace net {
13116680a4aac90f2aa7413d9095a592090648e557Ben Murdochclass HttpServerPropertiesManager;
14116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch}
15116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
16116680a4aac90f2aa7413d9095a592090648e557Ben Murdochnamespace user_prefs {
17116680a4aac90f2aa7413d9095a592090648e557Ben Murdochclass PrefRegistrySyncable;
18116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch}
19116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
20116680a4aac90f2aa7413d9095a592090648e557Ben Murdochnamespace chrome_browser_net {
21116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
22116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch////////////////////////////////////////////////////////////////////////////////
23116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// Class for registration and creation of HttpServerPropertiesManager
24116680a4aac90f2aa7413d9095a592090648e557Ben Murdochclass HttpServerPropertiesManagerFactory {
25116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch public:
26116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  // Create an instance of HttpServerPropertiesManager.
27116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  static net::HttpServerPropertiesManager* CreateManager(
28116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch      PrefService* pref_service);
29116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
30116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  // Register prefs for properties managed by HttpServerPropertiesManager.
31116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
32116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
33116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch private:
34116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  DISALLOW_IMPLICIT_CONSTRUCTORS(HttpServerPropertiesManagerFactory);
35116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch};
36116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
37116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch}  // namespace chrome_browser_net
38116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
39116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#endif  // CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_
40