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

Unified Diff: net/http/http_response_headers_unittest.cc

Issue 1059843002: Refactor NetLog::LogLevel --> NetLogCaptureMode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again to fix a merge conflict Created 5 years, 8 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_response_headers.cc ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_response_headers_unittest.cc
diff --git a/net/http/http_response_headers_unittest.cc b/net/http/http_response_headers_unittest.cc
index 355742351c3135d4348dcbfe1b6011e83bedd1e7..81bd5a30fdf9b296b1a66e9194240d6920a0e068 100644
--- a/net/http/http_response_headers_unittest.cc
+++ b/net/http/http_response_headers_unittest.cc
@@ -2266,8 +2266,8 @@ TEST(HttpResponseHeadersTest, ToNetLogParamAndBackAgain) {
scoped_refptr<net::HttpResponseHeaders> parsed(
new net::HttpResponseHeaders(headers));
- scoped_ptr<base::Value> event_param(
- parsed->NetLogCallback(net::NetLog::LOG_ALL_BUT_BYTES));
+ scoped_ptr<base::Value> event_param(parsed->NetLogCallback(
+ net::NetLogCaptureMode::IncludeCookiesAndCredentials()));
scoped_refptr<net::HttpResponseHeaders> recreated;
ASSERT_TRUE(net::HttpResponseHeaders::FromNetLogParam(event_param.get(),
« no previous file with comments | « net/http/http_response_headers.cc ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698