Index: chrome/browser/history/history_backend.cc |
=================================================================== |
--- chrome/browser/history/history_backend.cc (revision 117824) |
+++ chrome/browser/history/history_backend.cc (working copy) |
@@ -71,8 +71,9 @@ |
// dependency between MostVisitedModel and the history backend. |
static const int kSegmentDataRetention = 90; |
-// How long we'll wait to do a commit, so that things are batched together. |
-static const int kCommitIntervalSeconds = 10; |
+// The number of milliseconds we'll wait to do a commit, so that things are |
+// batched together. |
+static const int kCommitIntervalMs = 10000; |
// The amount of time before we re-fetch the favicon. |
static const int kFaviconRefetchDays = 7; |
@@ -1941,7 +1942,7 @@ |
MessageLoop::current()->PostDelayedTask( |
FROM_HERE, |
base::Bind(&CommitLaterTask::RunCommit, scheduled_commit_.get()), |
- base::TimeDelta::FromSeconds(kCommitIntervalSeconds)); |
+ kCommitIntervalMs); |
} |
void HistoryBackend::CancelScheduledCommit() { |