Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1347)

Side by Side Diff: components/history/core/test/database_test_utils.h

Issue 870063002: Componentize TopSites, TopSitesBackend, TopSitesDatabase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@815983002
Patch Set: Fix typo Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW
« no previous file with comments | « components/history/core/test/BUILD.gn ('k') | components/history/core/test/database_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698