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

Unified Diff: components/history/core/browser/history_backend.cc

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/history_backend.cc
diff --git a/components/history/core/browser/history_backend.cc b/components/history/core/browser/history_backend.cc
index 1c4aa6a0436526c8c33c228708c1e585b47a3127..a28868c92141253a6483dd67509046576671820d 100644
--- a/components/history/core/browser/history_backend.cc
+++ b/components/history/core/browser/history_backend.cc
@@ -1039,6 +1039,12 @@ bool HistoryBackend::GetURL(const GURL& url, URLRow* url_row) {
return false;
}
+bool HistoryBackend::GetURLByID(URLID url_id, URLRow* url_row) {
+ if (db_)
+ return db_->GetURLRow(url_id, url_row);
+ return false;
+}
+
void HistoryBackend::QueryURL(const GURL& url,
bool want_visits,
QueryURLResult* result) {

Powered by Google App Engine
This is Rietveld 408576698