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

Unified Diff: chrome/browser/net/predictor_api.cc

Issue 6145005: dont save username and password in the url that is used during... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/predictor_api.cc
===================================================================
--- chrome/browser/net/predictor_api.cc (revision 71128)
+++ chrome/browser/net/predictor_api.cc (working copy)
@@ -246,7 +246,7 @@
return;
if (url.SchemeIs("http") || url.SchemeIs("https")) {
- const GURL url_without_path(url.GetWithEmptyPath());
+ const GURL url_without_path(Predictor::CanonicalizeUrl(url));
if (first_navigations_.find(url_without_path) == first_navigations_.end())
first_navigations_[url_without_path] = base::TimeTicks::Now();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698