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

Unified Diff: chrome/test/testing_profile.cc

Issue 343067: Unittest for fix to allow navigation when there is no history DB.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/test/testing_profile.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/testing_profile.cc
===================================================================
--- chrome/test/testing_profile.cc (revision 30724)
+++ chrome/test/testing_profile.cc (working copy)
@@ -104,7 +104,7 @@
file_util::Delete(path_, true);
}
-void TestingProfile::CreateHistoryService(bool delete_file) {
+void TestingProfile::CreateHistoryService(bool delete_file, bool no_db) {
if (history_service_.get())
history_service_->Cleanup();
@@ -116,7 +116,7 @@
file_util::Delete(path, false);
}
history_service_ = new HistoryService(this);
- history_service_->Init(GetPath(), bookmark_bar_model_.get());
+ history_service_->Init(GetPath(), bookmark_bar_model_.get(), no_db);
}
void TestingProfile::DestroyHistoryService() {
« no previous file with comments | « chrome/test/testing_profile.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698