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

Side by Side Diff: chrome/test/base/browser_tests_main.cc

Issue 637933002: Replace FINAL and OVERRIDE with their C++11 counterparts in chrome/test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <algorithm> 5 #include <algorithm>
6 6
7 #include "base/sys_info.h" 7 #include "base/sys_info.h"
8 #include "chrome/test/base/chrome_test_launcher.h" 8 #include "chrome/test/base/chrome_test_launcher.h"
9 #include "chrome/test/base/chrome_test_suite.h" 9 #include "chrome/test/base/chrome_test_suite.h"
10 10
11 class ChromeBrowserTestSuiteRunner : public ChromeTestSuiteRunner { 11 class ChromeBrowserTestSuiteRunner : public ChromeTestSuiteRunner {
12 public: 12 public:
13 virtual int RunTestSuite(int argc, char** argv) OVERRIDE { 13 virtual int RunTestSuite(int argc, char** argv) override {
14 return ChromeTestSuite(argc, argv).Run(); 14 return ChromeTestSuite(argc, argv).Run();
15 } 15 }
16 }; 16 };
17 17
18 int main(int argc, char** argv) { 18 int main(int argc, char** argv) {
19 int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2); 19 int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2);
20 ChromeBrowserTestSuiteRunner runner; 20 ChromeBrowserTestSuiteRunner runner;
21 return LaunchChromeTests(default_jobs, &runner, argc, argv); 21 return LaunchChromeTests(default_jobs, &runner, argc, argv);
22 } 22 }
OLDNEW
« no previous file with comments | « chrome/test/base/browser_perf_tests_main.cc ('k') | chrome/test/base/browser_with_test_window_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698