| OLD | NEW |
| 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_PPAPI_PPAPI_TEST_H_ | 5 #ifndef CHROME_TEST_PPAPI_PPAPI_TEST_H_ |
| 6 #define CHROME_TEST_PPAPI_PPAPI_TEST_H_ | 6 #define CHROME_TEST_PPAPI_PPAPI_TEST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 | 176 |
| 177 // Test Non-SFI Mode, using PNaCl toolchain to produce nexes. | 177 // Test Non-SFI Mode, using PNaCl toolchain to produce nexes. |
| 178 class PPAPINaClPNaClNonSfiTest : public PPAPINaClTest { | 178 class PPAPINaClPNaClNonSfiTest : public PPAPINaClTest { |
| 179 public: | 179 public: |
| 180 virtual void SetUpCommandLine(base::CommandLine* command_line); | 180 virtual void SetUpCommandLine(base::CommandLine* command_line); |
| 181 | 181 |
| 182 virtual std::string BuildQuery(const std::string& base, | 182 virtual std::string BuildQuery(const std::string& base, |
| 183 const std::string& test_case) override; | 183 const std::string& test_case) override; |
| 184 }; | 184 }; |
| 185 | 185 |
| 186 class PPAPINaClPNaClNaClHelperNonSfiTest : public PPAPINaClPNaClNonSfiTest { |
| 187 public: |
| 188 virtual void SetUpCommandLine(base::CommandLine* command_line) override; |
| 189 }; |
| 190 |
| 186 class PPAPIPrivateNaClPNaClNonSfiTest : public PPAPINaClPNaClNonSfiTest { | 191 class PPAPIPrivateNaClPNaClNonSfiTest : public PPAPINaClPNaClNonSfiTest { |
| 187 protected: | 192 protected: |
| 188 virtual void SetUpCommandLine(base::CommandLine* command_line) override; | 193 virtual void SetUpCommandLine(base::CommandLine* command_line) override; |
| 189 }; | 194 }; |
| 190 | 195 |
| 196 class PPAPIPrivateNaClPNaClNaClHelperNonSfiTest |
| 197 : public PPAPIPrivateNaClPNaClNonSfiTest { |
| 198 protected: |
| 199 virtual void SetUpCommandLine(base::CommandLine* command_line) override; |
| 200 }; |
| 201 |
| 202 |
| 191 class PPAPINaClTestDisallowedSockets : public PPAPITestBase { | 203 class PPAPINaClTestDisallowedSockets : public PPAPITestBase { |
| 192 public: | 204 public: |
| 193 virtual void SetUpCommandLine(base::CommandLine* command_line) override; | 205 virtual void SetUpCommandLine(base::CommandLine* command_line) override; |
| 194 | 206 |
| 195 virtual std::string BuildQuery(const std::string& base, | 207 virtual std::string BuildQuery(const std::string& base, |
| 196 const std::string& test_case) override; | 208 const std::string& test_case) override; |
| 197 }; | 209 }; |
| 198 | 210 |
| 199 class PPAPIBrokerInfoBarTest : public OutOfProcessPPAPITest { | 211 class PPAPIBrokerInfoBarTest : public OutOfProcessPPAPITest { |
| 200 public: | 212 public: |
| 201 // PPAPITestBase override: | 213 // PPAPITestBase override: |
| 202 virtual void SetUpOnMainThread() override; | 214 virtual void SetUpOnMainThread() override; |
| 203 }; | 215 }; |
| 204 | 216 |
| 205 #endif // CHROME_TEST_PPAPI_PPAPI_TEST_H_ | 217 #endif // CHROME_TEST_PPAPI_PPAPI_TEST_H_ |
| OLD | NEW |