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

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

Issue 2961723003: [USS] Implement ApplySyncChanges and OnURLVisited/Modified/Deleted. (Closed)
Patch Set: handle nullptr case in bridge Created 3 years, 5 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 bd7d01dc0976eee6222415e8db7cc196597f9601..00e5f338a2b178587ba3baa5d1d5c4497e7b9ad3 100644
--- a/components/history/core/browser/history_backend.cc
+++ b/components/history/core/browser/history_backend.cc
@@ -1042,6 +1042,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) {
« no previous file with comments | « components/history/core/browser/history_backend.h ('k') | components/history/core/browser/typed_url_sync_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698