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

Unified Diff: components/history/content/browser/history_database_helper.h

Issue 849323002: Componentize HistoryDatabase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android compilation Created 5 years, 11 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/content/browser/history_database_helper.h
diff --git a/components/history/content/browser/history_database_helper.h b/components/history/content/browser/history_database_helper.h
new file mode 100644
index 0000000000000000000000000000000000000000..4a97514271506860045756147dd46d1934268b6a
--- /dev/null
+++ b/components/history/content/browser/history_database_helper.h
@@ -0,0 +1,22 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_HISTORY_CONTENT_BROWSER_HISTORY_DATABASE_HELPER_H_
+#define COMPONENTS_HISTORY_CONTENT_BROWSER_HISTORY_DATABASE_HELPER_H_
+
+namespace base {
+class FilePath;
+}
+
+namespace history {
+
+struct HistoryDatabaseParams;
+
+// Returns a HistoryDatabaseParams for |history_dir|.
+HistoryDatabaseParams HistoryDatabaseParamsForPath(
+ const base::FilePath& history_dir);
+
+} // namespace history
+
+#endif // COMPONENTS_HISTORY_CONTENT_BROWSER_HISTORY_DATABASE_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698