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

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

Issue 10872032: Revert 152946 - Replace HistoryQuickProvider protobuf-based caching with an SQLite-based database. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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.h ('k') | chrome/browser/history/history_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history.cc
===================================================================
--- chrome/browser/history/history.cc (revision 152962)
+++ chrome/browser/history/history.cc (working copy)
@@ -201,7 +201,7 @@
// Give the InMemoryURLIndex a chance to shutdown.
if (in_memory_url_index_.get())
- in_memory_url_index_->Shutdown();
+ in_memory_url_index_->ShutDown();
// The backend's destructor must run on the history thread since it is not
// threadsafe. So this thread must not be the last thread holding a reference
@@ -737,8 +737,7 @@
bool HistoryService::Init(const FilePath& history_dir,
BookmarkService* bookmark_service,
- bool no_db,
- bool disable_index_cache) {
+ bool no_db) {
if (!thread_->Start()) {
Cleanup();
return false;
@@ -757,7 +756,7 @@
profile_->GetPrefs()->GetString(prefs::kAcceptLanguages);
in_memory_url_index_.reset(
new history::InMemoryURLIndex(profile_, history_dir_, languages));
- in_memory_url_index_->Init(disable_index_cache);
+ in_memory_url_index_->Init();
}
#endif // !OS_ANDROID
« no previous file with comments | « chrome/browser/history/history.h ('k') | chrome/browser/history/history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698