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

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

Issue 16776004: Replace FTS in the history_service with a brute force text search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix kSafeRegexWordBoundary for Korean. Created 7 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: chrome/browser/history/history_types.h
diff --git a/chrome/browser/history/history_types.h b/chrome/browser/history/history_types.h
index c99457d636cee5990feaa1f9d362f64754b133b6..853f84e468d9ee8635de53893dc8d95b88e1c333 100644
--- a/chrome/browser/history/history_types.h
+++ b/chrome/browser/history/history_types.h
@@ -290,6 +290,7 @@ struct PageVisit {
class URLResult : public URLRow {
public:
URLResult();
+ explicit URLResult(const URLRow& url_row);
URLResult(const GURL& url, base::Time visit_time);
// Constructor that create a URLResult from the specified URL and title match
// positions from title_matches.
@@ -315,6 +316,8 @@ class URLResult : public URLRow {
void SwapResult(URLResult* other);
+ static bool CompareVisitTime(const URLResult& lhs, const URLResult& rhs);
+
private:
friend class HistoryBackend;

Powered by Google App Engine
This is Rietveld 408576698