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

Unified Diff: content/public/test/test_browser_thread.cc

Issue 11881025: content: Remove deprecated method from TestBrowserThread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « content/public/test/test_browser_thread.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « content/public/test/test_browser_thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698