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

Unified Diff: components/autofill/content/browser/wallet/wallet_service_url.cc

Issue 260903011: Renamed namespaces of url lib and removed namespace aliases. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Thu 05/01/2014 11:38:37.95 Created 6 years, 8 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 | net/base/filename_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/browser/wallet/wallet_service_url.cc
diff --git a/components/autofill/content/browser/wallet/wallet_service_url.cc b/components/autofill/content/browser/wallet/wallet_service_url.cc
index 86b6b53e789a44270427e525dccf52fa83b8ba77..310b9271685a15acafe9a2746d6dcdfeb5785674 100644
--- a/components/autofill/content/browser/wallet/wallet_service_url.cc
+++ b/components/autofill/content/browser/wallet/wallet_service_url.cc
@@ -180,11 +180,10 @@ bool IsSignInContinueUrl(const GURL& url, size_t* user_index) {
*user_index = 0;
std::string query_str = url.query();
- url_parse::Component query(0, query_str.length());
- url_parse::Component key, value;
+ url::Component query(0, query_str.length());
+ url::Component key, value;
const char kUserIndexKey[] = "authuser";
- while (url_parse::ExtractQueryKeyValue(query_str.c_str(), &query, &key,
- &value)) {
+ while (url::ExtractQueryKeyValue(query_str.c_str(), &query, &key, &value)) {
if (key.is_nonempty() &&
query_str.substr(key.begin, key.len) == kUserIndexKey) {
base::StringToSizeT(query_str.substr(value.begin, value.len), user_index);
« no previous file with comments | « no previous file | net/base/filename_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698