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

Side by Side Diff: chrome/test/ui/npapi_test_helper.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/reliability/automated_ui_tests.h ('k') | chrome/test/ui/ui_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) 2009 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_UI_NPAPI_TEST_HELPER_H_ 5 #ifndef CHROME_TEST_UI_NPAPI_TEST_HELPER_H_
6 #define CHROME_TEST_UI_NPAPI_TEST_HELPER_H_ 6 #define CHROME_TEST_UI_NPAPI_TEST_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/test/ui/ui_test.h" 9 #include "chrome/test/ui/ui_test.h"
10 10
11 namespace npapi_test { 11 namespace npapi_test {
12 extern const char kTestCompleteCookie[]; 12 extern const char kTestCompleteCookie[];
13 extern const char kTestCompleteSuccess[]; 13 extern const char kTestCompleteSuccess[];
14 } // namespace npapi_test. 14 } // namespace npapi_test.
15 15
16 // Base class for NPAPI tests. It provides common functionality between 16 // Base class for NPAPI tests. It provides common functionality between
17 // regular NPAPI plugins and pepper NPAPI plugins. 17 // regular NPAPI plugins and pepper NPAPI plugins.
18 class NPAPITesterBase : public UITest { 18 class NPAPITesterBase : public UITest {
19 protected: 19 protected:
20 explicit NPAPITesterBase(); 20 explicit NPAPITesterBase();
21 virtual void SetUp(); 21 virtual void SetUp() OVERRIDE;
22 22
23 FilePath GetPluginsDirectory(); 23 FilePath GetPluginsDirectory();
24 }; 24 };
25 25
26 // Helper class for NPAPI plugin UI tests, which need the browser window 26 // Helper class for NPAPI plugin UI tests, which need the browser window
27 // to be visible. 27 // to be visible.
28 class NPAPIVisiblePluginTester : public NPAPITesterBase { 28 class NPAPIVisiblePluginTester : public NPAPITesterBase {
29 protected: 29 protected:
30 virtual void SetUp(); 30 virtual void SetUp() OVERRIDE;
31 }; 31 };
32 32
33 // Helper class for NPAPI plugin UI tests which use incognito mode. 33 // Helper class for NPAPI plugin UI tests which use incognito mode.
34 class NPAPIIncognitoTester : public NPAPITesterBase { 34 class NPAPIIncognitoTester : public NPAPITesterBase {
35 protected: 35 protected:
36 virtual void SetUp(); 36 virtual void SetUp() OVERRIDE;
37 }; 37 };
38 38
39 #endif // CHROME_TEST_UI_NPAPI_TEST_HELPER_H_ 39 #endif // CHROME_TEST_UI_NPAPI_TEST_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/test/reliability/automated_ui_tests.h ('k') | chrome/test/ui/ui_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698