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

Unified Diff: chrome/browser/sync/profile_sync_service_typed_url_unittest.cc

Issue 9419033: Move creation of BrowserContext objects that live in content to content, instead of depending on th… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fix memory leaks in tests Created 8 years, 10 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/sync/profile_sync_service_typed_url_unittest.cc
===================================================================
--- chrome/browser/sync/profile_sync_service_typed_url_unittest.cc (revision 122721)
+++ chrome/browser/sync/profile_sync_service_typed_url_unittest.cc (working copy)
@@ -164,17 +164,12 @@
.WillRepeatedly(RunTaskOnDBThread(&history_thread_,
history_backend_.get()));
history_thread_.Start();
-
- notification_service_ =
- new ThreadNotificationService(&history_thread_);
- notification_service_->Init();
}
virtual void TearDown() {
history_backend_ = NULL;
history_service_ = NULL;
service_.reset();
- notification_service_->TearDown();
history_thread_.Stop();
profile_.ResetRequestContext();
AbstractProfileSyncServiceTest::TearDown();
@@ -297,7 +292,6 @@
}
Thread history_thread_;
- scoped_refptr<ThreadNotificationService> notification_service_;
ProfileMock profile_;
scoped_refptr<HistoryBackendMock> history_backend_;
« no previous file with comments | « chrome/browser/sync/profile_sync_service_password_unittest.cc ('k') | chrome/browser/sync/profile_sync_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698