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

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

Issue 351553004: Port HistoryService::GetVisibleVisitCountToHost to CancelableTaskTracker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Linux ASAN tests Created 6 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
« no previous file with comments | « chrome/browser/history/history_service.cc ('k') | chrome/browser/safe_browsing/browser_feature_extractor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_types.h
diff --git a/chrome/browser/history/history_types.h b/chrome/browser/history/history_types.h
index 8a4e3f6d9d6d64a573fedc1965c5c4bb40a2b996..b0923c4e83fccecc458217c4ea9316e3b07de7e4 100644
--- a/chrome/browser/history/history_types.h
+++ b/chrome/browser/history/history_types.h
@@ -286,7 +286,7 @@ struct QueryOptions {
// QueryURLResult -------------------------------------------------------------
-// QueryURLResult encapsulate the result of a call to HistoryBackend::QueryURL.
+// QueryURLResult encapsulates the result of a call to HistoryBackend::QueryURL.
struct QueryURLResult {
QueryURLResult();
~QueryURLResult();
@@ -298,6 +298,19 @@ struct QueryURLResult {
VisitVector visits;
};
+// VisibleVisitCountToHostResult ----------------------------------------------
+
+// VisibleVisitCountToHostResult encapsulates the result of a call to
+// HistoryBackend::GetVisibleVisitCountToHost.
+struct VisibleVisitCountToHostResult {
+ // Indicates whether the call to HistoryBackend::GetVisibleVisitCountToHost
+ // was successfull or not. If false, then both |count| and |first_visit| are
+ // undefined.
+ bool success;
+ int count;
+ base::Time first_visit;
+};
+
// MostVisitedURL --------------------------------------------------------------
// Holds the per-URL information of the most visited query.
« no previous file with comments | « chrome/browser/history/history_service.cc ('k') | chrome/browser/safe_browsing/browser_feature_extractor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698