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

Side by Side Diff: ui/ozone/run_all_unittests.cc

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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
« no previous file with comments | « ui/ozone/public/ui_thread_gpu.cc ('k') | ui/platform_window/win/win_window.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/bind.h" 5 #include "base/bind.h"
6 #include "base/test/launcher/unit_test_launcher.h" 6 #include "base/test/launcher/unit_test_launcher.h"
7 #include "base/test/test_suite.h" 7 #include "base/test/test_suite.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 namespace { 10 namespace {
11 11
12 class OzoneTestSuite : public base::TestSuite { 12 class OzoneTestSuite : public base::TestSuite {
13 public: 13 public:
14 OzoneTestSuite(int argc, char** argv); 14 OzoneTestSuite(int argc, char** argv);
15 15
16 protected: 16 protected:
17 // base::TestSuite: 17 // base::TestSuite:
18 virtual void Initialize() OVERRIDE; 18 virtual void Initialize() override;
19 virtual void Shutdown() OVERRIDE; 19 virtual void Shutdown() override;
20 20
21 private: 21 private:
22 DISALLOW_COPY_AND_ASSIGN(OzoneTestSuite); 22 DISALLOW_COPY_AND_ASSIGN(OzoneTestSuite);
23 }; 23 };
24 24
25 OzoneTestSuite::OzoneTestSuite(int argc, char** argv) 25 OzoneTestSuite::OzoneTestSuite(int argc, char** argv)
26 : base::TestSuite(argc, argv) {} 26 : base::TestSuite(argc, argv) {}
27 27
28 void OzoneTestSuite::Initialize() { 28 void OzoneTestSuite::Initialize() {
29 base::TestSuite::Initialize(); 29 base::TestSuite::Initialize();
30 } 30 }
31 31
32 void OzoneTestSuite::Shutdown() { 32 void OzoneTestSuite::Shutdown() {
33 base::TestSuite::Shutdown(); 33 base::TestSuite::Shutdown();
34 } 34 }
35 35
36 } // namespace 36 } // namespace
37 37
38 int main(int argc, char** argv) { 38 int main(int argc, char** argv) {
39 OzoneTestSuite test_suite(argc, argv); 39 OzoneTestSuite test_suite(argc, argv);
40 40
41 return base::LaunchUnitTests(argc, 41 return base::LaunchUnitTests(argc,
42 argv, 42 argv,
43 base::Bind(&OzoneTestSuite::Run, 43 base::Bind(&OzoneTestSuite::Run,
44 base::Unretained(&test_suite))); 44 base::Unretained(&test_suite)));
45 } 45 }
OLDNEW
« no previous file with comments | « ui/ozone/public/ui_thread_gpu.cc ('k') | ui/platform_window/win/win_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698