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

Unified Diff: chrome/browser/extensions/api/history/history_api.h

Issue 314293005: Change HistoryService::QueryURL to use CancelableTaskTracker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and add comment for scoped_ptr usage 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/extensions/api/history/history_api.h
diff --git a/chrome/browser/extensions/api/history/history_api.h b/chrome/browser/extensions/api/history/history_api.h
index 32040b5645ccb0878cba3695d21d5bf06fc4032a..cd1e9427a0281f8a1e1f5ad24c39a6169c23da82 100644
--- a/chrome/browser/extensions/api/history/history_api.h
+++ b/chrome/browser/extensions/api/history/history_api.h
@@ -135,10 +135,9 @@ class HistoryGetVisitsFunction : public HistoryFunctionWithCallback {
virtual bool RunAsyncImpl() OVERRIDE;
// Callback for the history function to provide results.
- void QueryComplete(HistoryService::Handle request_service,
- bool success,
- const history::URLRow* url_row,
- history::VisitVector* visits);
+ void QueryComplete(bool success,
+ const history::URLRow& url_row,
+ const history::VisitVector& visits);
};
class HistorySearchFunction : public HistoryFunctionWithCallback {

Powered by Google App Engine
This is Rietveld 408576698