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

Side by Side Diff: chrome/test/ui/dromaeo_benchmark_uitest.cc

Issue 6086003: Cleanup: Remove unneeded includes of chrome_switches.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/file_path.h" 6 #include "base/file_path.h"
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/common/chrome_paths.h" 12 #include "chrome/common/chrome_paths.h"
13 #include "chrome/common/chrome_switches.h"
14 #include "chrome/common/json_value_serializer.h" 13 #include "chrome/common/json_value_serializer.h"
15 #include "chrome/test/automation/tab_proxy.h" 14 #include "chrome/test/automation/tab_proxy.h"
16 #include "chrome/test/ui/javascript_test_util.h" 15 #include "chrome/test/ui/javascript_test_util.h"
17 #include "chrome/test/ui/ui_perf_test.h" 16 #include "chrome/test/ui/ui_perf_test.h"
18 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
19 #include "net/base/net_util.h" 18 #include "net/base/net_util.h"
20 19
21 namespace { 20 namespace {
22 21
23 const char kRunDromaeo[] = "run-dromaeo-benchmark"; 22 const char kRunDromaeo[] = "run-dromaeo-benchmark";
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 167
169 TEST_F(DromaeoReferenceTest, JSLibPerf) { 168 TEST_F(DromaeoReferenceTest, JSLibPerf) {
170 if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunDromaeo)) 169 if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunDromaeo))
171 return; 170 return;
172 171
173 RunTest(FILE_PATH_LITERAL("jslib")); 172 RunTest(FILE_PATH_LITERAL("jslib"));
174 } 173 }
175 174
176 175
177 } // namespace 176 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698