| 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 SQL_MOJO_SQL_TEST_BASE_H_ | 5 #ifndef SQL_MOJO_SQL_TEST_BASE_H_ |
| 6 #define SQL_MOJO_SQL_TEST_BASE_H_ | 6 #define SQL_MOJO_SQL_TEST_BASE_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 "components/filesystem/public/interfaces/file_system.mojom.h" | 10 #include "components/filesystem/public/interfaces/file_system.mojom.h" |
| 11 #include "mojo/application/public/cpp/application_test_base.h" | 11 #include "mojo/application/public/cpp/application_test_base.h" |
| 12 #include "mojo/public/cpp/bindings/binding.h" |
| 12 #include "sql/connection.h" | 13 #include "sql/connection.h" |
| 13 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 14 | 15 |
| 15 namespace sql { | 16 namespace sql { |
| 16 | 17 |
| 17 class Connection; | 18 class Connection; |
| 18 class ScopedMojoFilesystemVFS; | 19 class ScopedMojoFilesystemVFS; |
| 19 | 20 |
| 20 // Base class for SQL tests. | 21 // Base class for SQL tests. |
| 21 // | 22 // |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 scoped_ptr<ScopedMojoFilesystemVFS> vfs_; | 82 scoped_ptr<ScopedMojoFilesystemVFS> vfs_; |
| 82 mojo::Binding<filesystem::FileSystemClient> binding_; | 83 mojo::Binding<filesystem::FileSystemClient> binding_; |
| 83 sql::Connection db_; | 84 sql::Connection db_; |
| 84 | 85 |
| 85 DISALLOW_COPY_AND_ASSIGN(SQLTestBase); | 86 DISALLOW_COPY_AND_ASSIGN(SQLTestBase); |
| 86 }; | 87 }; |
| 87 | 88 |
| 88 } // namespace sql | 89 } // namespace sql |
| 89 | 90 |
| 90 #endif // SQL_MOJO_SQL_TEST_BASE_H_ | 91 #endif // SQL_MOJO_SQL_TEST_BASE_H_ |
| OLD | NEW |