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

Unified Diff: chrome/browser/ui/sync/one_click_signin_helper.cc

Issue 102843002: Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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: chrome/browser/ui/sync/one_click_signin_helper.cc
diff --git a/chrome/browser/ui/sync/one_click_signin_helper.cc b/chrome/browser/ui/sync/one_click_signin_helper.cc
index 9c52e642ff883fdaa5bf983f0341f5c0a2699ebb..85e467931f050a19bbd3a1212884ca8bf12c5a51 100644
--- a/chrome/browser/ui/sync/one_click_signin_helper.cc
+++ b/chrome/browser/ui/sync/one_click_signin_helper.cc
@@ -860,7 +860,7 @@ void OneClickSigninHelper::ShowInfoBarIfPossible(net::URLRequest* request,
const std::string& key = pair.first;
const std::string& value = pair.second;
if (key == "email") {
- TrimString(value, "\"", &email);
+ base::TrimString(value, "\"", &email);
} else if (key == "sessionindex") {
session_index = value;
}

Powered by Google App Engine
This is Rietveld 408576698