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

Unified Diff: chrome/browser/prerender/prerender_manager.h

Issue 330703005: Revert of Change HistoryService::QueryURL to use CancelableTaskTracker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « chrome/browser/history/history_unittest.cc ('k') | chrome/browser/prerender/prerender_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prerender/prerender_manager.h
diff --git a/chrome/browser/prerender/prerender_manager.h b/chrome/browser/prerender/prerender_manager.h
index 9118533223a773dcf219be9a302ad54bae6f68c8..dddadb1b27ff0bdfbbeeefb8b14675d1fdf4fa67 100644
--- a/chrome/browser/prerender/prerender_manager.h
+++ b/chrome/browser/prerender/prerender_manager.h
@@ -15,7 +15,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
#include "base/memory/weak_ptr.h"
-#include "base/task/cancelable_task_tracker.h"
#include "base/threading/non_thread_safe.h"
#include "base/time/time.h"
#include "base/timer/timer.h"
@@ -320,9 +319,10 @@
void OnHistoryServiceDidQueryURL(Origin origin,
uint8 experiment_id,
+ CancelableRequestProvider::Handle handle,
bool success,
- const history::URLRow& url_row,
- const history::VisitVector& visits);
+ const history::URLRow* url_row,
+ history::VisitVector* visits);
Profile* profile() const { return profile_; }
@@ -742,7 +742,7 @@
content::NotificationRegistrar notification_registrar_;
- base::CancelableTaskTracker query_url_tracker_;
+ CancelableRequestConsumer query_url_consumer_;
// The number of bytes transferred over the network for the profile this
// PrerenderManager is attached to.
« no previous file with comments | « chrome/browser/history/history_unittest.cc ('k') | chrome/browser/prerender/prerender_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698