Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(455)

Side by Side Diff: ios/chrome/browser/net/http_server_properties_manager_factory.h

Issue 2944043002: Add NetLog events for HttpServerPropertiesManager (Closed)
Patch Set: address droger comment Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_ 5 #ifndef IOS_CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_
6 #define IOS_CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_ 6 #define IOS_CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 9
10 class PrefService; 10 class PrefService;
11 11
12 namespace net { 12 namespace net {
13 class HttpServerPropertiesManager; 13 class HttpServerPropertiesManager;
14 class NetLog;
14 } 15 }
15 16
16 namespace user_prefs { 17 namespace user_prefs {
17 class PrefRegistrySyncable; 18 class PrefRegistrySyncable;
18 } 19 }
19 20
20 // Class for registration and creation of HttpServerPropertiesManager 21 // Class for registration and creation of HttpServerPropertiesManager
21 class HttpServerPropertiesManagerFactory { 22 class HttpServerPropertiesManagerFactory {
22 public: 23 public:
23 // Create an instance of HttpServerPropertiesManager. 24 // Create an instance of HttpServerPropertiesManager.
24 static net::HttpServerPropertiesManager* CreateManager( 25 static net::HttpServerPropertiesManager* CreateManager(
25 PrefService* pref_service); 26 PrefService* pref_service,
27 net::NetLog* net_log);
26 28
27 // Register prefs for properties managed by HttpServerPropertiesManager. 29 // Register prefs for properties managed by HttpServerPropertiesManager.
28 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); 30 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
29 31
30 private: 32 private:
31 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManagerFactory); 33 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManagerFactory);
32 }; 34 };
33 35
34 #endif // IOS_CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_ 36 #endif // IOS_CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698