diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-02 00:21:39 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-02 00:21:39 +0000 |
commit | f4ebe772e28369908c70e2e79f052d043c6f8eeb (patch) | |
tree | 8abbccc21509118c1228bc116a6f0f250759a801 /content/gpu/gpu_info_collector_linux.cc | |
parent | 11e45efce9cc17e1b2b76e6a636cc63b2c021324 (diff) | |
download | chromium_src-f4ebe772e28369908c70e2e79f052d043c6f8eeb.zip chromium_src-f4ebe772e28369908c70e2e79f052d043c6f8eeb.tar.gz chromium_src-f4ebe772e28369908c70e2e79f052d043c6f8eeb.tar.bz2 |
Move string tokenizer to base/strings.
BUG=
Review URL: https://codereview.chromium.org/12087091
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180211 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/gpu/gpu_info_collector_linux.cc')
-rw-r--r-- | content/gpu/gpu_info_collector_linux.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/gpu/gpu_info_collector_linux.cc b/content/gpu/gpu_info_collector_linux.cc index e96d251..06d2ae4 100644 --- a/content/gpu/gpu_info_collector_linux.cc +++ b/content/gpu/gpu_info_collector_linux.cc @@ -15,8 +15,8 @@ #include "base/message_loop.h" #include "base/string_piece.h" #include "base/string_split.h" -#include "base/string_tokenizer.h" #include "base/string_util.h" +#include "base/strings/string_tokenizer.h" #include "library_loaders/libpci.h" #include "third_party/libXNVCtrl/NVCtrl.h" #include "third_party/libXNVCtrl/NVCtrlLib.h" @@ -48,7 +48,7 @@ std::string CollectDriverVersionATI() { std::string contents; if (!file_util::ReadFileToString(ati_file_path, &contents)) return std::string(); - StringTokenizer t(contents, "\r\n"); + base::StringTokenizer t(contents, "\r\n"); while (t.GetNext()) { std::string line = t.token(); if (StartsWithASCII(line, "ReleaseVersion=", true)) { |