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

Unified Diff: chrome/browser/ui/website_settings/website_settings.h

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.cc ('k') | chrome/browser/ui/website_settings/website_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/website_settings/website_settings.h
diff --git a/chrome/browser/ui/website_settings/website_settings.h b/chrome/browser/ui/website_settings/website_settings.h
index c310116c3c606d562de10eb2b9643401b23ff97d..82f39db528c6e79838bf8a4f168263fd1a33a651 100644
--- a/chrome/browser/ui/website_settings/website_settings.h
+++ b/chrome/browser/ui/website_settings/website_settings.h
@@ -7,7 +7,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
-#include "base/task/cancelable_task_tracker.h"
#include "base/time/time.h"
#include "chrome/browser/common/cancelable_request.h"
#include "chrome/browser/content_settings/tab_specific_content_settings.h"
@@ -86,7 +85,8 @@
// Callback used for requests to fetch the number of page visits from history
// service and the time of the first visit.
- void OnGotVisitCountToHost(bool found_visits,
+ void OnGotVisitCountToHost(HistoryService::Handle handle,
+ bool found_visits,
int visit_count,
base::Time first_visit);
@@ -199,7 +199,7 @@
HostContentSettingsMap* content_settings_;
// Used to request the number of page visits.
- base::CancelableTaskTracker visit_count_task_tracker_;
+ CancelableRequestConsumer visit_count_request_consumer_;
DISALLOW_COPY_AND_ASSIGN(WebsiteSettings);
};
« no previous file with comments | « chrome/browser/ssl/ssl_blocking_page.cc ('k') | chrome/browser/ui/website_settings/website_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698