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

Unified Diff: trunk/src/chrome/browser/ui/app_list/search/common/webservice_search_provider.cc

Issue 474483002: Revert 289312 "Move StringToUpperASCII and LowerCaseEqualsASCII ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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
Index: trunk/src/chrome/browser/ui/app_list/search/common/webservice_search_provider.cc
===================================================================
--- trunk/src/chrome/browser/ui/app_list/search/common/webservice_search_provider.cc (revision 289319)
+++ trunk/src/chrome/browser/ui/app_list/search/common/webservice_search_provider.cc (working copy)
@@ -71,7 +71,7 @@
// file, we shouldn't send it. Sending such things is a waste of time and a
// disclosure of potentially private, local data. If the scheme is OK, we
// still need to check other cases below.
- if (base::LowerCaseEqualsASCII(query_as_url.scheme(), url::kFileScheme))
+ if (LowerCaseEqualsASCII(query_as_url.scheme(), url::kFileScheme))
return true;
// Don't send URLs with usernames, queries or refs. Some of these are
@@ -90,7 +90,7 @@
// Don't send anything for https except the hostname. Hostnames are OK
// because they are visible when the TCP connection is established, but the
// specific path may reveal private information.
- if (base::LowerCaseEqualsASCII(query_as_url.scheme(), url::kHttpsScheme) &&
+ if (LowerCaseEqualsASCII(query_as_url.scheme(), url::kHttpsScheme) &&
!query_as_url.path().empty() && query_as_url.path() != "/") {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698