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

Unified Diff: chrome/browser/ssl/ssl_blocking_page.cc

Issue 351363002: Revert of Port HistoryService::GetVisibleVisitCountToHost 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
« no previous file with comments | « chrome/browser/ssl/ssl_blocking_page.h ('k') | chrome/browser/ui/website_settings/website_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/ssl_blocking_page.cc
diff --git a/chrome/browser/ssl/ssl_blocking_page.cc b/chrome/browser/ssl/ssl_blocking_page.cc
index 212172ec99332601943cc076b03fa3d64b1f62f9..d0d95b8f5e744a3b3f0981549be09553bfe39b42 100644
--- a/chrome/browser/ssl/ssl_blocking_page.cc
+++ b/chrome/browser/ssl/ssl_blocking_page.cc
@@ -295,9 +295,9 @@
if (history_service) {
history_service->GetVisibleVisitCountToHost(
request_url_,
+ &request_consumer_,
base::Bind(&SSLBlockingPage::OnGotHistoryCount,
- base::Unretained(this)),
- &request_tracker_);
+ base::Unretained(this)));
}
}
@@ -722,7 +722,8 @@
}
}
-void SSLBlockingPage::OnGotHistoryCount(bool success,
+void SSLBlockingPage::OnGotHistoryCount(HistoryService::Handle handle,
+ bool success,
int num_visits,
base::Time first_visit) {
num_visits_ = num_visits;
« no previous file with comments | « chrome/browser/ssl/ssl_blocking_page.h ('k') | chrome/browser/ui/website_settings/website_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698