diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-03 19:05:31 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-03 19:05:31 +0000 |
commit | 8af69c6c00a7a432710171d16b37abe77f18d51c (patch) | |
tree | 4ee0b9d30bc47eab2ee1cc4cbc1e9c16916cd426 /remoting | |
parent | d283bc0f818820a4344d170b1e917840310a7742 (diff) | |
download | chromium_src-8af69c6c00a7a432710171d16b37abe77f18d51c.zip chromium_src-8af69c6c00a7a432710171d16b37abe77f18d51c.tar.gz chromium_src-8af69c6c00a7a432710171d16b37abe77f18d51c.tar.bz2 |
Move TrimWhitespace to the base namespace.
R=viettrungluu@chromium.org, viettrungluu
Review URL: https://codereview.chromium.org/183853011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254521 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/host/setup/daemon_controller_delegate_linux.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/host/setup/daemon_controller_delegate_linux.cc b/remoting/host/setup/daemon_controller_delegate_linux.cc index 7e78046..d925369 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(); |