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

Unified Diff: chrome/browser/history/history_backend.h

Issue 8370011: Now does not sync URLs that only have imported visits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review feedback Created 9 years, 2 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 | « no previous file | chrome/browser/history/history_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_backend.h
diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h
index 4c0f5035b42e31e97967d4af0283b635ecad16c0..057b0f54c71b39284f2e155ee9d8d043ae980bc6 100644
--- a/chrome/browser/history/history_backend.h
+++ b/chrome/browser/history/history_backend.h
@@ -301,6 +301,11 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
virtual bool RemoveVisits(const VisitVector& visits);
+ // Returns the VisitSource associated with each one of the passed visits.
+ // If there is no entry in the map for a given visit, that means the visit
+ // was SOURCE_BROWSED. Returns false if there is no HistoryDatabase..
+ bool GetVisitsSource(const VisitVector& visits, VisitSourceMap* sources);
+
virtual bool GetURL(const GURL& url, history::URLRow* url_row);
// Deleting ------------------------------------------------------------------
« no previous file with comments | « no previous file | chrome/browser/history/history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698