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

Unified Diff: content/browser/loader/netlog_observer.h

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 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: content/browser/loader/netlog_observer.h
diff --git a/content/browser/loader/netlog_observer.h b/content/browser/loader/netlog_observer.h
index eed22332fa4efaf64e31324206821b617f13bd91..90c9f7a6d5261e02de3f2ba189bdbdbe6f500d2b 100644
--- a/content/browser/loader/netlog_observer.h
+++ b/content/browser/loader/netlog_observer.h
@@ -17,6 +17,7 @@
namespace net {
class URLRequest;
+class NetLogEntry;
} // namespace net
namespace content {
@@ -34,7 +35,7 @@ class NetLogObserver : public net::NetLog::ThreadSafeObserver {
public:
// net::NetLog::ThreadSafeObserver implementation:
- void OnAddEntry(const net::NetLog::Entry& entry) override;
+ void OnAddEntry(const net::NetLogEntry& entry) override;
// The NetLog instance is passed in via the |net_log| parameter.
static void Attach(net::NetLog* net_log);
@@ -54,7 +55,7 @@ class NetLogObserver : public net::NetLog::ThreadSafeObserver {
ResourceInfo* GetResourceInfo(uint32_t id);
- void OnAddURLRequestEntry(const net::NetLog::Entry& entry);
+ void OnAddURLRequestEntry(const net::NetLogEntry& entry);
typedef base::hash_map<uint32_t, scoped_refptr<ResourceInfo>>
RequestToInfoMap;

Powered by Google App Engine
This is Rietveld 408576698