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

Unified Diff: net/http/http_auth_controller.cc

Issue 2481923002: [WIP] make GURL::path() return a StringPiece (Closed)
Patch Set: thanks asan Created 4 years, 1 month 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/ftp/ftp_network_transaction.cc ('k') | net/test/embedded_test_server/http_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth_controller.cc
diff --git a/net/http/http_auth_controller.cc b/net/http/http_auth_controller.cc
index 78e5a0354beec639b911260a6b9621ba2aeeb727..2012a603fe0e639d49a8b7fa1390d9076d7417e8 100644
--- a/net/http/http_auth_controller.cc
+++ b/net/http/http_auth_controller.cc
@@ -130,12 +130,12 @@ HttpAuthController::HttpAuthController(
: target_(target),
auth_url_(auth_url),
auth_origin_(auth_url.GetOrigin()),
- auth_path_(HttpAuth::AUTH_PROXY ? std::string() : auth_url.path()),
+ auth_path_(HttpAuth::AUTH_PROXY ? std::string()
+ : auth_url.path().as_string()),
embedded_identity_used_(false),
default_credentials_used_(false),
http_auth_cache_(http_auth_cache),
- http_auth_handler_factory_(http_auth_handler_factory) {
-}
+ http_auth_handler_factory_(http_auth_handler_factory) {}
HttpAuthController::~HttpAuthController() {
DCHECK(CalledOnValidThread());
« no previous file with comments | « net/ftp/ftp_network_transaction.cc ('k') | net/test/embedded_test_server/http_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698