Index: chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc |
diff --git a/chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc b/chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc |
index f8690d71d2cfab2defa6a590b125ddb1b68890ef..8a3a1dae27f42d05f83960983e69a7d5fa87bc54 100644 |
--- a/chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc |
+++ b/chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc |
@@ -23,6 +23,8 @@ |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/test/base/in_process_browser_test.h" |
+#include "chrome/test/base/testing_browser_process.h" |
+#include "chrome/test/base/testing_profile_manager.h" |
#include "content/public/test/test_utils.h" |
#include "ui/app_list/app_list_model.h" |
#include "ui/app_list/search_box_model.h" |
@@ -33,14 +35,21 @@ |
class AppListServiceInteractiveTest : public InProcessBrowserTest { |
public: |
AppListServiceInteractiveTest() |
- : profile2_(NULL) {} |
+ : profile2_(NULL), |
+ profile_manager_(TestingBrowserProcess::GetGlobal()) {} |
void InitSecondProfile() { profile2_ = test::CreateSecondProfileAsync(); } |
+ void SetUp() override { |
+ ASSERT_TRUE(profile_manager_.SetUp()); |
+ } |
+ |
protected: |
Profile* profile2_; |
private: |
+ TestingProfileManager profile_manager_; |
+ |
DISALLOW_COPY_AND_ASSIGN(AppListServiceInteractiveTest); |
}; |