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

Unified Diff: components/password_manager/core/browser/affiliation_utils.cc

Issue 1172753003: Move LowerCaseEqualsASCII to base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util
Patch Set: Created 5 years, 6 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 | « components/omnibox/search_provider.cc ('k') | components/plugins/renderer/mobile_youtube_plugin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/password_manager/core/browser/affiliation_utils.cc
diff --git a/components/password_manager/core/browser/affiliation_utils.cc b/components/password_manager/core/browser/affiliation_utils.cc
index 6fbf02ceb1daf7a32bebf6c129107249e523f6d8..3cdc9eafb7a1ebc52a2e9cc77ae85bdaf7ce35a4 100644
--- a/components/password_manager/core/browser/affiliation_utils.cc
+++ b/components/password_manager/core/browser/affiliation_utils.cc
@@ -18,7 +18,6 @@
#include "net/base/escape.h"
#include "url/third_party/mozilla/url_parse.h"
#include "url/url_canon_stdstring.h"
-#include "url/url_util.h"
namespace password_manager {
@@ -183,11 +182,11 @@ bool ParseAndCanonicalizeFacetURI(const std::string& input_uri,
url::ParseStandardURL(input_uri.c_str(), input_uri.size(), &input_parsed);
base::StringPiece scheme = ComponentString(input_uri, input_parsed.scheme);
- if (url::LowerCaseEqualsASCII(scheme.begin(), scheme.end(),
- url::kHttpsScheme)) {
+ if (base::LowerCaseEqualsASCII(scheme.begin(), scheme.end(),
+ url::kHttpsScheme)) {
return CanonicalizeWebFacetURI(input_uri, input_parsed, canonical_uri);
- } else if (url::LowerCaseEqualsASCII(scheme.begin(), scheme.end(),
- kAndroidAppScheme)) {
+ } else if (base::LowerCaseEqualsASCII(scheme.begin(), scheme.end(),
+ kAndroidAppScheme)) {
return CanonicalizeAndroidFacetURI(input_uri, input_parsed, canonical_uri);
}
return false;
@@ -318,7 +317,7 @@ bool IsPropagatingPasswordChangesToWebCredentialsEnabled(
return false;
if (command_line.HasSwitch(switches::kEnableAffiliationBasedMatching))
return true;
- return LowerCaseEqualsASCII(update_enabled, "enabled");
+ return base::LowerCaseEqualsASCII(update_enabled, "enabled");
}
bool IsAffiliationRequestsForDummyFacetsEnabled(
@@ -329,7 +328,7 @@ bool IsAffiliationRequestsForDummyFacetsEnabled(
return false;
if (command_line.HasSwitch(switches::kEnableAffiliationBasedMatching))
return true;
- return LowerCaseEqualsASCII(synthesizing_enabled, "enabled");
+ return base::LowerCaseEqualsASCII(synthesizing_enabled, "enabled");
}
bool IsValidAndroidFacetURI(const std::string& url) {
« no previous file with comments | « components/omnibox/search_provider.cc ('k') | components/plugins/renderer/mobile_youtube_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698