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

Unified Diff: remoting/host/setup/daemon_controller_delegate_linux.cc

Issue 183853011: Move TrimWhitespace to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « printing/backend/cups_helper.cc ('k') | rlz/lib/rlz_lib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/setup/daemon_controller_delegate_linux.cc
diff --git a/remoting/host/setup/daemon_controller_delegate_linux.cc b/remoting/host/setup/daemon_controller_delegate_linux.cc
index 7e7804612ff43616d6141b8aadb24b4decffc464..d92536930500d047cf4faa1492369fb414ac62e5 100644
--- a/remoting/host/setup/daemon_controller_delegate_linux.cc
+++ b/remoting/host/setup/daemon_controller_delegate_linux.cc
@@ -152,7 +152,7 @@ DaemonController::State DaemonControllerDelegateLinux::GetState() {
return DaemonController::STATE_UNKNOWN;
}
- TrimWhitespaceASCII(status, TRIM_ALL, &status);
+ base::TrimWhitespaceASCII(status, base::TRIM_ALL, &status);
if (status == "STARTED") {
return DaemonController::STATE_STARTED;
@@ -290,7 +290,7 @@ std::string DaemonControllerDelegateLinux::GetVersion() {
return std::string();
}
- TrimWhitespaceASCII(version, TRIM_ALL, &version);
+ base::TrimWhitespaceASCII(version, base::TRIM_ALL, &version);
if (!ContainsOnlyChars(version, "0123456789.")) {
LOG(ERROR) << "Received invalid host version number: " << version;
return std::string();
« no previous file with comments | « printing/backend/cups_helper.cc ('k') | rlz/lib/rlz_lib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698