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

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

Issue 111633003: Removes some dead database code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: leave idle comment Created 7 years 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/history/history_service.cc
diff --git a/chrome/browser/history/history_service.cc b/chrome/browser/history/history_service.cc
index b2f820c5387b16f90ba62a558496ebec4986214a..ab4a2f04f89497853c74448170cb6bb77b44e146 100644
--- a/chrome/browser/history/history_service.cc
+++ b/chrome/browser/history/history_service.cc
@@ -443,25 +443,6 @@ HistoryService::Handle HistoryService::QuerySegmentUsageSince(
from_time, max_result_count);
}
-void HistoryService::IncreaseSegmentDuration(const GURL& url,
- Time time,
- base::TimeDelta delta) {
- DCHECK(thread_checker_.CalledOnValidThread());
- ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::IncreaseSegmentDuration,
- url, time, delta);
-}
-
-HistoryService::Handle HistoryService::QuerySegmentDurationSince(
- CancelableRequestConsumerBase* consumer,
- base::Time from_time,
- int max_result_count,
- const SegmentQueryCallback& callback) {
- DCHECK(thread_checker_.CalledOnValidThread());
- return Schedule(PRIORITY_UI, &HistoryBackend::QuerySegmentDuration,
- consumer, new history::QuerySegmentUsageRequest(callback),
- from_time, max_result_count);
-}
-
void HistoryService::FlushForTest(const base::Closure& flushed) {
thread_->message_loop_proxy()->PostTaskAndReply(
FROM_HERE, base::Bind(&base::DoNothing), flushed);

Powered by Google App Engine
This is Rietveld 408576698