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

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

Issue 9316109: Move Ownership of IMUI to HistoryService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 11 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
Index: chrome/browser/history/history_unittest.cc
===================================================================
--- chrome/browser/history/history_unittest.cc (revision 120346)
+++ chrome/browser/history/history_unittest.cc (working copy)
@@ -114,8 +114,8 @@
// Creates the HistoryBackend and HistoryDatabase on the current thread,
// assigning the values to backend_ and db_.
void CreateBackendAndDatabase() {
- backend_ =
- new HistoryBackend(history_dir_, 0, new BackendDelegate(this), NULL);
Peter Kasting 2012/02/04 02:20:31 Nit: Either way is fine with me, honestly
+ backend_ = new HistoryBackend(history_dir_, 0, new BackendDelegate(this),
+ NULL);
backend_->Init(std::string(), false);
db_ = backend_->db_.get();
DCHECK(in_mem_backend_.get()) << "Mem backend should have been set by "

Powered by Google App Engine
This is Rietveld 408576698