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

Unified Diff: net/http/http_cache_unittest.cc

Issue 10829114: Http cache: Always revalidate PUT and DELETE requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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_cache_transaction.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache_unittest.cc
===================================================================
--- net/http/http_cache_unittest.cc (revision 149069)
+++ net/http/http_cache_unittest.cc (working copy)
@@ -2355,9 +2355,7 @@
TEST(HttpCache, SimplePUT_Invalidate) {
MockHttpCache cache;
- MockTransaction transaction(kSimplePOST_Transaction);
- transaction.method = "GET";
gavinp 2012/08/02 14:41:15 ha!
-
+ MockTransaction transaction(kSimpleGET_Transaction);
MockHttpRequest req1(transaction);
// Attempt to populate the cache.
@@ -2408,9 +2406,7 @@
TEST(HttpCache, SimpleDELETE_Invalidate) {
MockHttpCache cache;
- MockTransaction transaction(kSimplePOST_Transaction);
- transaction.method = "GET";
-
+ MockTransaction transaction(kSimpleGET_Transaction);
MockHttpRequest req1(transaction);
// Attempt to populate the cache.
« no previous file with comments | « net/http/http_cache_transaction.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698