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