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

Side by Side Diff: chrome/test/base/chrome_test_suite.h

Issue 8558032: Add OVERRIDE to chrome/test/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « chrome/test/base/chrome_render_view_test.h ('k') | chrome/test/base/menu_model_test.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_TEST_BASE_CHROME_TEST_SUITE_H_ 5 #ifndef CHROME_TEST_BASE_CHROME_TEST_SUITE_H_
6 #define CHROME_TEST_BASE_CHROME_TEST_SUITE_H_ 6 #define CHROME_TEST_BASE_CHROME_TEST_SUITE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/file_path.h" 11 #include "base/file_path.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/test/test_suite.h" 13 #include "base/test/test_suite.h"
14 #include "chrome/app/scoped_ole_initializer.h" 14 #include "chrome/app/scoped_ole_initializer.h"
15 15
16 namespace base { 16 namespace base {
17 class StatsTable; 17 class StatsTable;
18 } 18 }
19 19
20 class ChromeTestSuite : public base::TestSuite { 20 class ChromeTestSuite : public base::TestSuite {
21 public: 21 public:
22 ChromeTestSuite(int argc, char** argv); 22 ChromeTestSuite(int argc, char** argv);
23 virtual ~ChromeTestSuite(); 23 virtual ~ChromeTestSuite();
24 24
25 protected: 25 protected:
26 virtual void Initialize(); 26 virtual void Initialize() OVERRIDE;
27 virtual void Shutdown(); 27 virtual void Shutdown() OVERRIDE;
28 28
29 void SetBrowserDirectory(const FilePath& browser_dir) { 29 void SetBrowserDirectory(const FilePath& browser_dir) {
30 browser_dir_ = browser_dir; 30 browser_dir_ = browser_dir;
31 } 31 }
32 32
33 // Alternative path to browser binaries. 33 // Alternative path to browser binaries.
34 FilePath browser_dir_; 34 FilePath browser_dir_;
35 35
36 std::string stats_filename_; 36 std::string stats_filename_;
37 scoped_ptr<base::StatsTable> stats_table_; 37 scoped_ptr<base::StatsTable> stats_table_;
38 38
39 ScopedOleInitializer ole_initializer_; 39 ScopedOleInitializer ole_initializer_;
40 }; 40 };
41 41
42 #endif // CHROME_TEST_BASE_CHROME_TEST_SUITE_H_ 42 #endif // CHROME_TEST_BASE_CHROME_TEST_SUITE_H_
OLDNEW
« no previous file with comments | « chrome/test/base/chrome_render_view_test.h ('k') | chrome/test/base/menu_model_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698