|
|
Port HistoryService::QueryRedirects{From,To} to CancelableTaskTracker
The callback no longer receive a HistoryService::Handle but instead a
base::CancelableTaskTracker::TaskId that they can use to cancel the
task via the base::CancelableTaskTracker.
Remove HistoryBackend::GetMostRecentRedirects{From,To} that backed
the HistoryBackend::QueryRedirects{From,To} as they now have the same
interface.
Remove the success and url parameters to the QueryRedirectsCallback
as the url can be bound by the caller if required (most of them don't)
and no code path used the success value.
BUG= 371818
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=279727
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+115 lines, -153 lines) |
Patch |
 |
M |
chrome/browser/autocomplete/history_url_provider.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_backend.h
|
View
|
1
2
3
|
2 chunks |
+13 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_backend.cc
|
View
|
1
2
3
|
5 chunks |
+25 lines, -48 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_marshaling.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_service.h
|
View
|
1
2
|
1 chunk |
+12 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_service.cc
|
View
|
1
2
|
1 chunk |
+23 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_unittest.cc
|
View
|
1
2
|
3 chunks |
+10 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/redirect_browsertest.cc
|
View
|
1
2
|
2 chunks |
+10 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/safe_browsing/download_protection_service.cc
|
View
|
1
2
|
3 chunks |
+10 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/safe_browsing/malware_details_history.h
|
View
|
1
2
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/safe_browsing/malware_details_history.cc
|
View
|
1
2
|
1 chunk |
+7 lines, -11 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|