Chromium Code Reviews| Index: chrome/browser/profiles/profile_manager_unittest.cc |
| diff --git a/chrome/browser/profiles/profile_manager_unittest.cc b/chrome/browser/profiles/profile_manager_unittest.cc |
| index 87dd48894c9064ec5d641d57b712ffcb981da9eb..7621369dccaa6f3241512b7d8244e7c14ab5296c 100644 |
| --- a/chrome/browser/profiles/profile_manager_unittest.cc |
| +++ b/chrome/browser/profiles/profile_manager_unittest.cc |
| @@ -35,6 +35,7 @@ |
| #include "chrome/test/base/testing_profile.h" |
| #include "content/public/browser/notification_service.h" |
| #include "content/public/test/test_browser_thread_bundle.h" |
| +#include "content/public/test/test_renderer_host.h" |
| #include "testing/gmock/include/gmock/gmock.h" |
| #include "testing/gtest/include/gtest/gtest.h" |
| @@ -101,8 +102,8 @@ class ProfileManagerTest : public testing::Test { |
| new UnittestProfileManager(temp_dir_.path())); |
| #if defined(OS_CHROMEOS) |
| - CommandLine* cl = CommandLine::ForCurrentProcess(); |
| - cl->AppendSwitch(switches::kTestType); |
| + CommandLine* cl = CommandLine::ForCurrentProcess(); |
| + cl->AppendSwitch(switches::kTestType); |
| #endif |
| } |
| @@ -138,6 +139,9 @@ class ProfileManagerTest : public testing::Test { |
| #if defined(OS_CHROMEOS) |
| chromeos::ScopedTestUserManager test_user_manager_; |
| #endif |
| + |
| + // The existence of this object enables tests via RenderViewHostTester. |
| + content::RenderViewHostTestEnabler rvh_test_enabler_; |
|
Jered
2013/10/02 16:04:56
Why do we need to change this test that looks tota
samarth
2013/10/02 16:31:12
The root cause is tests that start a new Browser w
|
| }; |
| TEST_F(ProfileManagerTest, GetProfile) { |