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

Unified Diff: net/http/http_request_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_request_headers.cc ('k') | net/http/http_response_headers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_request_headers_unittest.cc
diff --git a/net/http/http_request_headers_unittest.cc b/net/http/http_request_headers_unittest.cc
index d33b4731011d8788e78f1940e04346c9267cde88..7c00c6eead9160c03e61ae7346cb318a1319fc3f 100644
--- a/net/http/http_request_headers_unittest.cc
+++ b/net/http/http_request_headers_unittest.cc
@@ -171,8 +171,8 @@ TEST(HttpRequestHeaders, ToNetLogParamAndBackAgain) {
headers.SetHeader("A", "a");
std::string request_line("GET /stuff");
- scoped_ptr<base::Value> event_param(
- headers.NetLogCallback(&request_line, NetLog::LOG_ALL_BUT_BYTES));
+ scoped_ptr<base::Value> event_param(headers.NetLogCallback(
+ &request_line, NetLogCaptureMode::IncludeCookiesAndCredentials()));
HttpRequestHeaders headers2;
std::string request_line2;
« no previous file with comments | « net/http/http_request_headers.cc ('k') | net/http/http_response_headers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698