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

Unified Diff: net/http/http_server_properties_manager.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 side-by-side diff with in-line comments
Download patch
Index: net/http/http_server_properties_manager.h
diff --git a/net/http/http_server_properties_manager.h b/net/http/http_server_properties_manager.h
index 0b7dc11045eeef114ea5395029c30561b8bc64ea..7a734ad3d677d0efc65ef6dceb1d3db68be9ceb5 100644
--- a/net/http/http_server_properties_manager.h
+++ b/net/http/http_server_properties_manager.h
@@ -21,6 +21,7 @@
#include "net/base/net_export.h"
#include "net/http/http_server_properties.h"
#include "net/http/http_server_properties_impl.h"
+#include "net/log/net_log_with_source.h"
namespace base {
class SingleThreadTaskRunner;
@@ -95,7 +96,8 @@ class NET_EXPORT HttpServerPropertiesManager : public HttpServerProperties {
HttpServerPropertiesManager(
PrefDelegate* pref_delegate,
scoped_refptr<base::SingleThreadTaskRunner> pref_task_runner,
- scoped_refptr<base::SingleThreadTaskRunner> network_task_runner);
+ scoped_refptr<base::SingleThreadTaskRunner> network_task_runner,
+ NetLog* net_log);
~HttpServerPropertiesManager() override;
// Initialize on Network thread.
@@ -321,6 +323,8 @@ class NET_EXPORT HttpServerPropertiesManager : public HttpServerProperties {
std::unique_ptr<base::WeakPtrFactory<HttpServerPropertiesManager>>
network_weak_ptr_factory_;
+ const NetLogWithSource net_log_;
+
DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager);
};
« no previous file with comments | « ios/chrome/browser/net/http_server_properties_manager_factory.cc ('k') | net/http/http_server_properties_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698