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

Unified Diff: components/history/core/browser/history_database.h

Issue 2721713002: [sync] Add typed url sync metadata to the history db (Closed)
Patch Set: update for comments Created 3 years, 9 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
« no previous file with comments | « components/history/core/browser/BUILD.gn ('k') | components/history/core/browser/history_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/history/core/browser/history_database.h
diff --git a/components/history/core/browser/history_database.h b/components/history/core/browser/history_database.h
index 9a26ae981941c1d598e8db459b5c84fb1f5103f1..dc9989d60aeb92924006386ed081ede29d1704d6 100644
--- a/components/history/core/browser/history_database.h
+++ b/components/history/core/browser/history_database.h
@@ -13,6 +13,7 @@
#include "build/build_config.h"
#include "components/history/core/browser/download_database.h"
#include "components/history/core/browser/history_types.h"
+#include "components/history/core/browser/typed_url_sync_metadata_database.h"
#include "components/history/core/browser/url_database.h"
#include "components/history/core/browser/visit_database.h"
#include "components/history/core/browser/visitsegment_database.h"
@@ -45,6 +46,7 @@ class HistoryDatabase : public DownloadDatabase,
public AndroidURLsDatabase,
public AndroidCacheDatabase,
#endif
+ public TypedURLSyncMetadataDatabase,
public URLDatabase,
public VisitDatabase,
public VisitSegmentDatabase {
@@ -169,9 +171,13 @@ class HistoryDatabase : public DownloadDatabase,
#endif
friend class ::InMemoryURLIndexTest;
- // Overridden from URLDatabase:
+ // Overridden from URLDatabase, DownloadDatabase, VisitDatabase,
+ // VisitSegmentDatabase and TypedURLSyncMetadataDatabase.
sql::Connection& GetDB() override;
+ // Overridden from TypedURLSyncMetadataDatabase.
+ sql::MetaTable& GetMetaTable() override;
+
// Migration -----------------------------------------------------------------
// Makes sure the version is up to date, updating if necessary. If the
« no previous file with comments | « components/history/core/browser/BUILD.gn ('k') | components/history/core/browser/history_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698