| OLD | NEW |
| 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 #ifndef SERVICES_JS_TEST_JS_APPLICATION_TEST_BASE_H_ | 5 #ifndef SERVICES_JS_TEST_JS_APPLICATION_TEST_BASE_H_ |
| 6 #define SERVICES_JS_TEST_JS_APPLICATION_TEST_BASE_H_ | 6 #define SERVICES_JS_TEST_JS_APPLICATION_TEST_BASE_H_ |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
| 10 #include "mojo/public/cpp/application/application_impl.h" | 10 #include "mojo/public/cpp/application/application_impl.h" |
| 11 #include "mojo/public/cpp/application/application_test_base.h" | 11 #include "mojo/public/cpp/application/application_test_base.h" |
| 12 | 12 |
| 13 namespace mojo { | 13 namespace js { |
| 14 namespace test { | 14 namespace test { |
| 15 | 15 |
| 16 class JSApplicationTestBase : public test::ApplicationTestBase { | 16 class JSApplicationTestBase : public mojo::test::ApplicationTestBase { |
| 17 public: | 17 public: |
| 18 JSApplicationTestBase(); | 18 JSApplicationTestBase(); |
| 19 ~JSApplicationTestBase() override; | 19 ~JSApplicationTestBase() override; |
| 20 | 20 |
| 21 protected: | 21 protected: |
| 22 const std::string JSAppURL(const std::string& filename); | 22 const std::string JSAppURL(const std::string& filename); |
| 23 | 23 |
| 24 MOJO_DISALLOW_COPY_AND_ASSIGN(JSApplicationTestBase); | 24 MOJO_DISALLOW_COPY_AND_ASSIGN(JSApplicationTestBase); |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 } // namespace test | 27 } // namespace test |
| 28 } // namespace mojo | 28 } // namespace js |
| 29 | 29 |
| 30 #endif // SERVICES_JS_TEST_JS_APPLICATION_TEST_BASE_H_ | 30 #endif // SERVICES_JS_TEST_JS_APPLICATION_TEST_BASE_H_ |
| OLD | NEW |