summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/history_backend.h
diff options
context:
space:
mode:
authorglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-11 01:24:08 +0000
committerglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-11 01:24:08 +0000
commit153c6986284b7fc39fe5a875e0df5c8f29120957 (patch)
tree6f891ff5bbf3f2029d8c8a011d8916de6f2bfe1f /chrome/browser/history/history_backend.h
parent193e1cdbcaac17d0fac6093f9bd63cd5477e4325 (diff)
downloadchromium_src-153c6986284b7fc39fe5a875e0df5c8f29120957.zip
chromium_src-153c6986284b7fc39fe5a875e0df5c8f29120957.tar.gz
chromium_src-153c6986284b7fc39fe5a875e0df5c8f29120957.tar.bz2
Stop history search going on beyond the start of history.
Stop losing first-searches on history page due to BUG=8438,8456 Review URL: http://codereview.chromium.org/43054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11411 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/history_backend.h')
-rw-r--r--chrome/browser/history/history_backend.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h
index 1dfa16e..5c23991 100644
--- a/chrome/browser/history/history_backend.h
+++ b/chrome/browser/history/history_backend.h
@@ -144,7 +144,6 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
void GetVisitCountToHost(scoped_refptr<GetVisitCountToHostRequest> request,
const GURL& url);
-
// Computes the most recent URL(s) that the given canonical URL has
// redirected to and returns true on success. There may be more than one
// redirect in a row, so this function will fill the given array with the
@@ -461,6 +460,9 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
// This keeps track of that higher-resolution timestamp.
base::Time last_recorded_time_;
+ // Timestamp of the first entry in our database.
+ base::Time first_recorded_time_;
+
// When non-NULL, this is the task that should be invoked on
MessageLoop* backend_destroy_message_loop_;
Task* backend_destroy_task_;