Index: content/public/test/test_browser_thread.cc |
diff --git a/content/public/test/test_browser_thread.cc b/content/public/test/test_browser_thread.cc |
index 849e394335c05a627685772428ffc70e1109f280..6920ce0b6d931fc7b916b15edd7b05bd2dcc3d57 100644 |
--- a/content/public/test/test_browser_thread.cc |
+++ b/content/public/test/test_browser_thread.cc |
@@ -11,7 +11,6 @@ |
namespace content { |
-// This gives access to set_message_loop(). |
class TestBrowserThreadImpl : public BrowserThreadImpl { |
public: |
explicit TestBrowserThreadImpl(BrowserThread::ID identifier) |
@@ -29,10 +28,6 @@ class TestBrowserThreadImpl : public BrowserThreadImpl { |
Stop(); |
} |
- void set_message_loop(MessageLoop* loop) { |
- Thread::set_message_loop(loop); |
- } |
- |
virtual void Init() OVERRIDE { |
notification_service_ = new NotificationServiceImpl; |
BrowserThreadImpl::Init(); |
@@ -46,6 +41,7 @@ class TestBrowserThreadImpl : public BrowserThreadImpl { |
private: |
NotificationService* notification_service_; |
+ |
DISALLOW_COPY_AND_ASSIGN(TestBrowserThreadImpl); |
}; |
@@ -84,8 +80,4 @@ base::Thread* TestBrowserThread::DeprecatedGetThreadObject() { |
return impl_.get(); |
} |
-void TestBrowserThread::DeprecatedSetMessageLoop(MessageLoop* loop) { |
- impl_->set_message_loop(loop); |
-} |
- |
} // namespace content |