summaryrefslogtreecommitdiffstats
path: root/content/browser/plugin_loader_posix_unittest.cc
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-31 16:28:03 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-31 16:28:03 +0000
commit9214555c0d660fce997df9cb18b25ca4a08f9136 (patch)
tree5816c65616ca842f9a033f6f1b214b484cee9ae8 /content/browser/plugin_loader_posix_unittest.cc
parent0210e8198c9cd5b2b9fb032c91c3147ec9788a15 (diff)
downloadchromium_src-9214555c0d660fce997df9cb18b25ca4a08f9136.zip
chromium_src-9214555c0d660fce997df9cb18b25ca4a08f9136.tar.gz
chromium_src-9214555c0d660fce997df9cb18b25ca4a08f9136.tar.bz2
Switch content tests to use BrowserThreadImpl directly.
BUG=98716 Review URL: http://codereview.chromium.org/8400060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107964 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/plugin_loader_posix_unittest.cc')
-rw-r--r--content/browser/plugin_loader_posix_unittest.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/content/browser/plugin_loader_posix_unittest.cc b/content/browser/plugin_loader_posix_unittest.cc
index d92eee0..1ed4080 100644
--- a/content/browser/plugin_loader_posix_unittest.cc
+++ b/content/browser/plugin_loader_posix_unittest.cc
@@ -9,11 +9,13 @@
#include "base/memory/ref_counted.h"
#include "base/message_loop.h"
#include "base/utf_string_conversions.h"
-#include "content/test/test_browser_thread.h"
+#include "content/browser/browser_thread_impl.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "webkit/plugins/webplugininfo.h"
+using content::BrowserThreadImpl;
+
class MockPluginLoaderPosix : public PluginLoaderPosix {
public:
MOCK_METHOD0(LoadPluginsInternal, void(void));
@@ -82,8 +84,8 @@ class PluginLoaderPosixTest : public testing::Test {
private:
MessageLoopForIO message_loop_;
- content::TestBrowserThread file_thread_;
- content::TestBrowserThread io_thread_;
+ BrowserThreadImpl file_thread_;
+ BrowserThreadImpl io_thread_;
scoped_refptr<MockPluginLoaderPosix> plugin_loader_;
};