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

Side by Side Diff: chrome/installer/setup/run_all_unittests.cc

Issue 1053123010: base: Remove using declaration from test_suite.h header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: chrome/installer/setup Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « base/test/test_suite.cc ('k') | chrome/installer/util/run_all_unittests.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/test/test_suite.h" 6 #include "base/test/test_suite.h"
7 #include "chrome/common/chrome_paths.h" 7 #include "chrome/common/chrome_paths.h"
8 #include "chrome/installer/setup/setup_util_unittest.h" 8 #include "chrome/installer/setup/setup_util_unittest.h"
9 9
10 int main(int argc, char** argv) { 10 int main(int argc, char** argv) {
11 TestSuite test_suite(argc, argv); 11 base::TestSuite test_suite(argc, argv);
12 12
13 // Handle the --adjust-process-priority switch, which is used to test the 13 // Handle the --adjust-process-priority switch, which is used to test the
14 // installer::AdjustProcessPriority() function in a subprocess. 14 // installer::AdjustProcessPriority() function in a subprocess.
15 if (base::CommandLine::ForCurrentProcess()->HasSwitch(kAdjustProcessPriority)) 15 if (base::CommandLine::ForCurrentProcess()->HasSwitch(kAdjustProcessPriority))
16 return DoProcessPriorityAdjustment(); 16 return DoProcessPriorityAdjustment();
17 17
18 // Register Chrome Path provider so that we can get test data dir. 18 // Register Chrome Path provider so that we can get test data dir.
19 chrome::RegisterPathProvider(); 19 chrome::RegisterPathProvider();
20 20
21 return test_suite.Run(); 21 return test_suite.Run();
22 } 22 }
OLDNEW
« no previous file with comments | « base/test/test_suite.cc ('k') | chrome/installer/util/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698