summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/history/in_memory_history_backend.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/history/in_memory_history_backend.cc b/chrome/browser/history/in_memory_history_backend.cc
index 6dedaf6..7084aa1 100644
--- a/chrome/browser/history/in_memory_history_backend.cc
+++ b/chrome/browser/history/in_memory_history_backend.cc
@@ -37,6 +37,9 @@ bool InMemoryHistoryBackend::Init(const FilePath& history_filename,
const std::string& languages) {
db_.reset(new InMemoryDatabase);
bool success = db_->InitFromDisk(history_filename);
+#if 0
+ // TODO(mrossetti): Temporary removal to help determine if the
+ // InMemoryURLIndex is contributing to a startup slowdown.
if (!CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableHistoryQuickProvider)) {
index_.reset(new InMemoryURLIndex());
@@ -45,6 +48,7 @@ bool InMemoryHistoryBackend::Init(const FilePath& history_filename,
UMA_HISTOGRAM_TIMES("Autocomplete.HistoryDatabaseIndexingTime",
base::TimeTicks::Now() - beginning_time);
}
+#endif
return success;
}