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

Side by Side Diff: chrome/test/nacl/nacl_browsertest_util.h

Issue 679273002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « chrome/test/data/webui/print_preview.h ('k') | chrome/test/nacl/pnacl_header_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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_NACL_NACL_BROWSERTEST_UTIL_H_ 5 #ifndef CHROME_TEST_NACL_NACL_BROWSERTEST_UTIL_H_
6 #define CHROME_TEST_NACL_NACL_BROWSERTEST_UTIL_H_ 6 #define CHROME_TEST_NACL_NACL_BROWSERTEST_UTIL_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/test/base/in_process_browser_test.h" 10 #include "chrome/test/base/in_process_browser_test.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 private: 53 private:
54 bool test_passed_; 54 bool test_passed_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(LoadTestMessageHandler); 56 DISALLOW_COPY_AND_ASSIGN(LoadTestMessageHandler);
57 }; 57 };
58 58
59 class NaClBrowserTestBase : public InProcessBrowserTest { 59 class NaClBrowserTestBase : public InProcessBrowserTest {
60 public: 60 public:
61 NaClBrowserTestBase(); 61 NaClBrowserTestBase();
62 virtual ~NaClBrowserTestBase(); 62 ~NaClBrowserTestBase() override;
63 63
64 void SetUpCommandLine(base::CommandLine* command_line) override; 64 void SetUpCommandLine(base::CommandLine* command_line) override;
65 65
66 void SetUpOnMainThread() override; 66 void SetUpOnMainThread() override;
67 67
68 // What variant are we running - newlib, glibc, pnacl, etc? 68 // What variant are we running - newlib, glibc, pnacl, etc?
69 // This is used to compute what directory we're pulling data from, but it can 69 // This is used to compute what directory we're pulling data from, but it can
70 // also be used to affect the behavior of the test. 70 // also be used to affect the behavior of the test.
71 virtual base::FilePath::StringType Variant() = 0; 71 virtual base::FilePath::StringType Variant() = 0;
72 72
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 191
192 #define NACL_BROWSER_TEST_F(suite, name, body) \ 192 #define NACL_BROWSER_TEST_F(suite, name, body) \
193 IN_PROC_BROWSER_TEST_F(suite##Newlib, name) \ 193 IN_PROC_BROWSER_TEST_F(suite##Newlib, name) \
194 body \ 194 body \
195 IN_PROC_BROWSER_TEST_F(suite##GLibc, MAYBE_GLIBC(name)) \ 195 IN_PROC_BROWSER_TEST_F(suite##GLibc, MAYBE_GLIBC(name)) \
196 body \ 196 body \
197 IN_PROC_BROWSER_TEST_F(suite##Pnacl, MAYBE_PNACL(name)) \ 197 IN_PROC_BROWSER_TEST_F(suite##Pnacl, MAYBE_PNACL(name)) \
198 body 198 body
199 199
200 #endif // CHROME_TEST_NACL_NACL_BROWSERTEST_UTIL_H_ 200 #endif // CHROME_TEST_NACL_NACL_BROWSERTEST_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/test/data/webui/print_preview.h ('k') | chrome/test/nacl/pnacl_header_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698