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