| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_FILESYSTEM_FILES_TEST_BASE_H_ | 5 #ifndef COMPONENTS_FILESYSTEM_FILES_TEST_BASE_H_ |
| 6 #define COMPONENTS_FILESYSTEM_FILES_TEST_BASE_H_ | 6 #define COMPONENTS_FILESYSTEM_FILES_TEST_BASE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "components/filesystem/public/interfaces/file_system.mojom.h" | 9 #include "components/filesystem/public/interfaces/file_system.mojom.h" |
| 10 #include "mojo/application/public/cpp/application_test_base.h" | 10 #include "mojo/application/public/cpp/application_test_base.h" |
| 11 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" | 11 #include "mojo/public/cpp/bindings/binding.h" |
| 12 | 12 |
| 13 namespace filesystem { | 13 namespace filesystem { |
| 14 | 14 |
| 15 class FilesTestBase : public mojo::test::ApplicationTestBase, | 15 class FilesTestBase : public mojo::test::ApplicationTestBase, |
| 16 public filesystem::FileSystemClient { | 16 public filesystem::FileSystemClient { |
| 17 public: | 17 public: |
| 18 FilesTestBase(); | 18 FilesTestBase(); |
| 19 ~FilesTestBase() override; | 19 ~FilesTestBase() override; |
| 20 | 20 |
| 21 // Overridden from mojo::test::ApplicationTestBase: | 21 // Overridden from mojo::test::ApplicationTestBase: |
| (...skipping 12 matching lines...) Expand all Loading... |
| 34 private: | 34 private: |
| 35 mojo::Binding<filesystem::FileSystemClient> binding_; | 35 mojo::Binding<filesystem::FileSystemClient> binding_; |
| 36 FileSystemPtr files_; | 36 FileSystemPtr files_; |
| 37 | 37 |
| 38 DISALLOW_COPY_AND_ASSIGN(FilesTestBase); | 38 DISALLOW_COPY_AND_ASSIGN(FilesTestBase); |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 } // namespace filesystem | 41 } // namespace filesystem |
| 42 | 42 |
| 43 #endif // COMPONENTS_FILESYSTEM_FILES_TEST_BASE_H_ | 43 #endif // COMPONENTS_FILESYSTEM_FILES_TEST_BASE_H_ |
| OLD | NEW |