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

Unified Diff: chrome/browser/history/history_backend.cc

Issue 6990074: Change GetVisitCountToHost() to GetVisibleVisitCountToHost(), and restrict it to returning "user-... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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_backend.h ('k') | chrome/browser/history/history_marshaling.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_backend.cc
===================================================================
--- chrome/browser/history/history_backend.cc (revision 86341)
+++ chrome/browser/history/history_backend.cc (working copy)
@@ -1312,16 +1312,16 @@
request->handle(), url, success, &request->value));
}
-void HistoryBackend::GetVisitCountToHost(
- scoped_refptr<GetVisitCountToHostRequest> request,
+void HistoryBackend::GetVisibleVisitCountToHost(
+ scoped_refptr<GetVisibleVisitCountToHostRequest> request,
const GURL& url) {
if (request->canceled())
return;
int count = 0;
Time first_visit;
- const bool success = (db_.get() && db_->GetVisitCountToHost(url, &count,
- &first_visit));
- request->ForwardResult(GetVisitCountToHostRequest::TupleType(
+ const bool success = db_.get() &&
+ db_->GetVisibleVisitCountToHost(url, &count, &first_visit);
+ request->ForwardResult(GetVisibleVisitCountToHostRequest::TupleType(
request->handle(), success, count, first_visit));
}
« no previous file with comments | « chrome/browser/history/history_backend.h ('k') | chrome/browser/history/history_marshaling.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698