OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_HISTORY_CORE_HISTORY_DATABASE_TEST_UTILS_H_ |
| 6 #define COMPONENTS_HISTORY_CORE_HISTORY_DATABASE_TEST_UTILS_H_ |
| 7 |
| 8 #include "base/compiler_specific.h" |
| 9 |
| 10 namespace base { |
| 11 class FilePath; |
| 12 } |
| 13 |
| 14 namespace history { |
| 15 |
| 16 // Create the test database at |db_path| from the golden file at |ascii_path| in |
| 17 // the "history" subdir of the components test data dir. |
| 18 WARN_UNUSED_RESULT bool CreateDatabaseFromSQL(const base::FilePath& db_path, |
| 19 const char* ascii_path); |
| 20 |
| 21 } // namespace history |
| 22 |
| 23 #endif // COMPONENTS_HISTORY_CORE_HISTORY_DATABASE_TEST_UTILS_H_ |
OLD | NEW |