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

Unified Diff: chrome/browser/alternate_nav_url_fetcher.cc

Issue 521026: I forgot that GURL doesn't do fixup. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 12 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/alternate_nav_url_fetcher.cc
===================================================================
--- chrome/browser/alternate_nav_url_fetcher.cc (revision 35493)
+++ chrome/browser/alternate_nav_url_fetcher.cc (working copy)
@@ -97,9 +97,10 @@
// domains (e.g. legit intranet sites), we're just trying to avoid
// erroneously harassing the user with our own UI prompts.
const char* kBlacklistedSites[] = {
- "comcast.com",
- "opendns.com",
- "verizon.net",
+ // NOTE: Use complete URLs, because GURL() doesn't do fixup!
+ "http://comcast.com/",
+ "http://opendns.com/",
+ "http://verizon.net/",
};
for (size_t i = 0; i < arraysize(kBlacklistedSites); ++i) {
if (net::RegistryControlledDomainService::SameDomainOrHost(
« 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