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

Unified Diff: content/gpu/gpu_info_collector_linux.cc

Issue 12087091: Move string tokenizer to base/strings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort Created 7 years, 11 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
Index: content/gpu/gpu_info_collector_linux.cc
diff --git a/content/gpu/gpu_info_collector_linux.cc b/content/gpu/gpu_info_collector_linux.cc
index e96d251557415422aab83880d0224894da11cc38..06d2ae44c57cb77451b44e3ae2d5994ae678cb49 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)) {

Powered by Google App Engine
This is Rietveld 408576698