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

Unified Diff: net/http/http_transaction_unittest.h

Issue 14625012: net: Return LoadTiming information in the case of a cache hit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Small fix Created 7 years, 7 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_transaction_unittest.h
===================================================================
--- net/http/http_transaction_unittest.h (revision 199488)
+++ net/http/http_transaction_unittest.h (working copy)
@@ -16,6 +16,7 @@
#include "net/base/io_buffer.h"
#include "net/base/load_flags.h"
#include "net/base/net_errors.h"
+#include "net/base/net_log.h"
#include "net/base/request_priority.h"
#include "net/base/test_completion_callback.h"
#include "net/disk_cache/disk_cache.h"
@@ -213,6 +214,11 @@
int test_mode_;
net::RequestPriority priority_;
base::WeakPtr<MockNetworkLayer> transaction_factory_;
+
+ // NetLog ID of the fake / non-existent underlying socket used by the
+ // connection. Requires Start() be passed a BoundNetLog with a real NetLog to
+ // be initialized.
+ unsigned int socket_log_id_;
};
class MockNetworkLayer : public net::HttpTransactionFactory,

Powered by Google App Engine
This is Rietveld 408576698