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

Unified Diff: base/stats_table_unittest.cc

Issue 678001: base: string_util.h -> utf_string_conversions.h fix. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 9 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 | « base/json/string_escape_unittest.cc ('k') | base/string_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/stats_table_unittest.cc
===================================================================
--- base/stats_table_unittest.cc (revision 40871)
+++ base/stats_table_unittest.cc (working copy)
@@ -2,21 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#if defined(OS_WIN)
+#include <process.h>
+#include <windows.h>
+#endif
+
#include "base/multiprocess_test.h"
#include "base/platform_thread.h"
#include "base/simple_thread.h"
#include "base/shared_memory.h"
#include "base/stats_table.h"
#include "base/stats_counters.h"
-#include "base/string_util.h"
+#include "base/utf_string_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/multiprocess_func_list.h"
-#if defined(OS_WIN)
-#include <process.h>
-#include <windows.h>
-#endif
-
namespace base {
class StatsTableTest : public MultiProcessTest {
@@ -43,7 +43,7 @@
// Fill up the table with counters.
std::string counter_base_name = "counter";
- for (int index=0; index < kMaxCounter; index++) {
+ for (int index = 0; index < kMaxCounter; index++) {
std::string counter_name = counter_base_name;
StringAppendF(&counter_name, "counter.ctr%d", index);
int counter_id = table.FindCounter(counter_name);
@@ -76,11 +76,11 @@
const int kThreadLoops = 1000;
class StatsTableThread : public base::SimpleThread {
-public:
+ public:
StatsTableThread(std::string name, int id)
: base::SimpleThread(name), id_(id) { }
virtual void Run();
-private:
+ private:
int id_;
};
« no previous file with comments | « base/json/string_escape_unittest.cc ('k') | base/string_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698