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

Unified Diff: net/http/http_auth_handler_unittest.cc

Issue 9585026: Add a source id to global NetLog entries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Missed one Created 8 years, 9 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/base/net_log_unittest.cc ('k') | net/proxy/proxy_resolver_js_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth_handler_unittest.cc
===================================================================
--- net/http/http_auth_handler_unittest.cc (revision 126769)
+++ net/http/http_auth_handler_unittest.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -17,7 +17,6 @@
namespace net {
TEST(HttpAuthHandlerTest, NetLog) {
- NetLog::Source source;
GURL origin("http://www.example.com");
std::string challenge = "Mock asdf";
AuthCredentials credentials(ASCIIToUTF16("user"), ASCIIToUTF16("pass"));
@@ -38,7 +37,8 @@
challenge.begin(), challenge.end());
HttpAuthHandlerMock mock_handler;
CapturingNetLog capturing_net_log(CapturingNetLog::kUnbounded);
- BoundNetLog bound_net_log(source, &capturing_net_log);
+ BoundNetLog bound_net_log(BoundNetLog::Make(&capturing_net_log,
+ net::NetLog::SOURCE_NONE));
mock_handler.InitFromChallenge(&tokenizer, target,
origin, bound_net_log);
« no previous file with comments | « net/base/net_log_unittest.cc ('k') | net/proxy/proxy_resolver_js_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698