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

Side by Side Diff: 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
« no previous file with comments | « no previous file | chrome/browser/net/http_server_properties_manager_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_ 5 #ifndef CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_
6 #define CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_ 6 #define 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 namespace chrome_browser_net { 21 namespace chrome_browser_net {
21 22
22 //////////////////////////////////////////////////////////////////////////////// 23 ////////////////////////////////////////////////////////////////////////////////
23 // Class for registration and creation of HttpServerPropertiesManager 24 // Class for registration and creation of HttpServerPropertiesManager
24 class HttpServerPropertiesManagerFactory { 25 class HttpServerPropertiesManagerFactory {
25 public: 26 public:
26 // Create an instance of HttpServerPropertiesManager. 27 // Create an instance of HttpServerPropertiesManager.
27 static net::HttpServerPropertiesManager* CreateManager( 28 static net::HttpServerPropertiesManager* CreateManager(
28 PrefService* pref_service); 29 PrefService* pref_service,
30 net::NetLog* net_log);
29 31
30 // Register prefs for properties managed by HttpServerPropertiesManager. 32 // Register prefs for properties managed by HttpServerPropertiesManager.
31 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); 33 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
32 34
33 private: 35 private:
34 DISALLOW_IMPLICIT_CONSTRUCTORS(HttpServerPropertiesManagerFactory); 36 DISALLOW_IMPLICIT_CONSTRUCTORS(HttpServerPropertiesManagerFactory);
35 }; 37 };
36 38
37 } // namespace chrome_browser_net 39 } // namespace chrome_browser_net
38 40
39 #endif // CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_ 41 #endif // CHROME_BROWSER_NET_HTTP_SERVER_PROPERTIES_MANAGER_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/net/http_server_properties_manager_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698