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

Unified Diff: components/history/core/test/database_test_utils.h

Issue 1100763002: Inject CanAddURLToHistory into TopSitesImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefs
Patch Set: Fix error introduced during rebase Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: components/history/core/test/database_test_utils.h
diff --git a/components/history/core/test/database_test_utils.h b/components/history/core/test/database_test_utils.h
index 9e82ebb1f00014b3332261fd9f9a1b58d174c725..8b91767da5d60c437f19d0216d2a4f02e32d3af8 100644
--- a/components/history/core/test/database_test_utils.h
+++ b/components/history/core/test/database_test_utils.h
@@ -13,6 +13,10 @@ class FilePath;
namespace history {
+// Sets |dir| to the path of the history data directory. Returns true on success
+// or false, in which case |dir| is undefined.
+WARN_UNUSED_RESULT bool GetTestDataHistoryDir(base::FilePath* dir);
+
// Create the test database at |db_path| from the golden file at |ascii_path| in
// the "history" subdir of the components test data dir.
WARN_UNUSED_RESULT bool CreateDatabaseFromSQL(const base::FilePath& db_path,
« no previous file with comments | « components/history/core/browser/top_sites_impl.cc ('k') | components/history/core/test/database_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698