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

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

Issue 2961723003: [USS] Implement ApplySyncChanges and OnURLVisited/Modified/Deleted. (Closed)
Patch Set: Created 3 years, 6 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/browser/typed_url_sync_metadata_database.h
diff --git a/components/history/core/browser/typed_url_sync_metadata_database.h b/components/history/core/browser/typed_url_sync_metadata_database.h
index 6967f48642d88e61e4162faca3e1b587b91dc9f2..b333f83e332c36ccf2269940f8d81ce12b5bb167 100644
--- a/components/history/core/browser/typed_url_sync_metadata_database.h
+++ b/components/history/core/browser/typed_url_sync_metadata_database.h
@@ -6,6 +6,7 @@
#define COMPONENTS_HISTORY_CORE_BROWSER_TYPED_URL_SYNC_METADATA_DATABASE_H_
#include "base/macros.h"
+#include "components/history/core/browser/url_row.h"
#include "components/sync/base/model_type.h"
#include "components/sync/model/metadata_batch.h"
#include "components/sync/model/sync_metadata_store.h"
@@ -43,6 +44,8 @@ class TypedURLSyncMetadataDatabase : public syncer::SyncMetadataStore {
const sync_pb::ModelTypeState& model_type_state) override;
bool ClearModelTypeState(syncer::ModelType model_type) override;
+ URLID StorageKeyToURLID(const std::string& storage_key);
pavely 2017/07/06 19:28:29 static?
Gang Wu 2017/07/10 19:53:25 Done.
+
protected:
// Returns the database for the functions in this interface.
virtual sql::Connection& GetDB() = 0;

Powered by Google App Engine
This is Rietveld 408576698