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

Unified Diff: chrome/browser/sync/profile_sync_test_util.h

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_test_util.h
===================================================================
--- chrome/browser/sync/profile_sync_test_util.h (revision 122721)
+++ chrome/browser/sync/profile_sync_test_util.h (working copy)
@@ -43,26 +43,6 @@
MOCK_METHOD0(OnStateChanged, void());
};
-class ThreadNotificationService
- : public base::RefCountedThreadSafe<ThreadNotificationService> {
- public:
- explicit ThreadNotificationService(base::Thread* notification_thread);
-
- void Init();
- void TearDown();
-
- private:
- friend class base::RefCountedThreadSafe<ThreadNotificationService>;
- virtual ~ThreadNotificationService();
-
- void InitTask();
- void TearDownTask();
-
- base::WaitableEvent done_event_;
- base::Thread* notification_thread_;
- scoped_ptr<content::NotificationService> service_;
-};
-
class ThreadNotifier : // NOLINT
public base::RefCountedThreadSafe<ThreadNotifier> {
public:
« no previous file with comments | « chrome/browser/sync/profile_sync_service_typed_url_unittest.cc ('k') | chrome/browser/sync/profile_sync_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698