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

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

Issue 349153006: Port HistoryService::QueryRedirects{From,To} to CancelableTaskTracker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/browser/history/history_types.h
diff --git a/chrome/browser/history/history_types.h b/chrome/browser/history/history_types.h
index 039789c6858039904b9f981c7a7242b6216eb0f2..e0ba22447699c280d7723d8c0b247cfcf5775214 100644
--- a/chrome/browser/history/history_types.h
+++ b/chrome/browser/history/history_types.h
@@ -495,6 +495,21 @@ struct QueryURLResult {
VisitVector visits;
};
+// QueryRedirectsResult -------------------------------------------------------
+
+// QueryRedirectsResult encapsulates the result of a call to
+// HistoryBackend::QueryRedirects{From,To}.
+struct QueryRedirectsResult {
+ QueryRedirectsResult();
+ ~QueryRedirectsResult();
+
+ // Indicates whether the call to HistoryBackend::QueryRedirects{From,To} was
+ // successfull or not. If false, then |redirects| is undefined.
+ GURL url;
+ bool success;
+ RedirectList redirects;
+};
+
// KeywordSearchTermVisit -----------------------------------------------------
// KeywordSearchTermVisit is returned from GetMostRecentKeywordSearchTerms. It

Powered by Google App Engine
This is Rietveld 408576698