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

Unified Diff: chrome/browser/extensions/user_script_listener_unittest.cc

Issue 306032: Simplify threading in browser thread by making only ChromeThread deal with di... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: a few more simplifications Created 11 years, 2 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/extensions/user_script_listener_unittest.cc
===================================================================
--- chrome/browser/extensions/user_script_listener_unittest.cc (revision 30037)
+++ chrome/browser/extensions/user_script_listener_unittest.cc (working copy)
@@ -7,6 +7,7 @@
#include "base/message_loop.h"
#include "base/thread.h"
+#include "chrome/browser/chrome_thread.h"
#include "chrome/browser/extensions/extensions_service.h"
#include "chrome/browser/renderer_host/resource_dispatcher_host.h"
#include "chrome/common/chrome_paths.h"
@@ -41,9 +42,9 @@
}
};
-class MockIOThread : public base::Thread {
+class MockIOThread : public ChromeThread {
public:
- MockIOThread() : base::Thread("IO") {}
+ MockIOThread() : ChromeThread(ChromeThread::IO) {}
virtual ~MockIOThread() { Stop(); }
private:

Powered by Google App Engine
This is Rietveld 408576698