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

Unified Diff: net/http/http_transaction_unittest.cc

Issue 199028: Update the request time of http cache entries on 304.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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
« no previous file with comments | « net/http/http_transaction_unittest.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_transaction_unittest.cc
===================================================================
--- net/http/http_transaction_unittest.cc (revision 25484)
+++ net/http/http_transaction_unittest.cc (working copy)
@@ -22,6 +22,7 @@
const MockTransaction kSimpleGET_Transaction = {
"http://www.google.com/",
"GET",
+ base::Time(),
"",
net::LOAD_NORMAL,
"HTTP/1.1 200 OK",
@@ -36,6 +37,7 @@
const MockTransaction kSimplePOST_Transaction = {
"http://bugdatabase.com/edit",
"POST",
+ base::Time(),
"",
net::LOAD_NORMAL,
"HTTP/1.1 200 OK",
@@ -50,6 +52,7 @@
const MockTransaction kTypicalGET_Transaction = {
"http://www.example.com/~foo/bar.html",
"GET",
+ base::Time(),
"",
net::LOAD_NORMAL,
"HTTP/1.1 200 OK",
@@ -65,6 +68,7 @@
const MockTransaction kETagGET_Transaction = {
"http://www.google.com/foopy",
"GET",
+ base::Time(),
"",
net::LOAD_NORMAL,
"HTTP/1.1 200 OK",
@@ -80,6 +84,7 @@
const MockTransaction kRangeGET_Transaction = {
"http://www.google.com/",
"GET",
+ base::Time(),
"Range: 0-100\r\n",
net::LOAD_NORMAL,
"HTTP/1.1 200 OK",
« no previous file with comments | « net/http/http_transaction_unittest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698