| Index: chrome/browser/component_updater/component_installers_unittest.cc
|
| diff --git a/chrome/browser/component_updater/component_installers_unittest.cc b/chrome/browser/component_updater/component_installers_unittest.cc
|
| index 39b1a15177eca5850e5162e23db8c105d614177d..b00fa00650dea31198785c02039099a370c16ae2 100644
|
| --- a/chrome/browser/component_updater/component_installers_unittest.cc
|
| +++ b/chrome/browser/component_updater/component_installers_unittest.cc
|
| @@ -7,19 +7,16 @@
|
| #include "base/files/file_path.h"
|
| #include "base/files/file_util.h"
|
| #include "base/json/json_file_value_serializer.h"
|
| -#include "base/message_loop/message_loop.h"
|
| #include "base/path_service.h"
|
| #include "base/version.h"
|
| #include "build/build_config.h"
|
| #include "chrome/browser/component_updater/pepper_flash_component_installer.h"
|
| #include "chrome/common/chrome_paths.h"
|
| #include "chrome/common/pepper_flash.h"
|
| -#include "content/public/test/test_browser_thread.h"
|
| +#include "content/public/test/test_browser_thread_bundle.h"
|
| #include "ppapi/shared_impl/test_globals.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| -using content::BrowserThread;
|
| -
|
| namespace component_updater {
|
|
|
| namespace {
|
| @@ -64,8 +61,7 @@ const base::FilePath::CharType kDataPath[] =
|
|
|
| // TODO(viettrungluu): Separate out into two separate tests; use a test fixture.
|
| TEST(ComponentInstallerTest, PepperFlashCheck) {
|
| - base::MessageLoop message_loop;
|
| - content::TestBrowserThread ui_thread(BrowserThread::UI, &message_loop);
|
| + content::TestBrowserThreadBundle test_browser_thread_bundle;
|
|
|
| ppapi::PpapiGlobals::PerThreadForTest per_thread_for_test;
|
| ppapi::TestGlobals test_globals(per_thread_for_test);
|
|
|