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

Unified Diff: ios/chrome/browser/test/perf_test_with_bvc_ios.mm

Issue 2615003002: Use ChromeBrowserStateManager instead of BrowserListIOS. (Closed)
Patch Set: Fix ios_chrome_perftests. Created 3 years, 11 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
« no previous file with comments | « ios/chrome/browser/test/perf_test_with_bvc_ios.h ('k') | ios/chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/test/perf_test_with_bvc_ios.mm
diff --git a/ios/chrome/browser/test/perf_test_with_bvc_ios.mm b/ios/chrome/browser/test/perf_test_with_bvc_ios.mm
index d0886cf6323521b180f73ab50dd1f2421c65391b..546efc3e2a5cac7e75283a2359ae2a2d35878104 100644
--- a/ios/chrome/browser/test/perf_test_with_bvc_ios.mm
+++ b/ios/chrome/browser/test/perf_test_with_bvc_ios.mm
@@ -6,11 +6,13 @@
#import <UIKit/UIKit.h>
+#include "base/files/file_path.h"
#include "base/memory/ptr_util.h"
#include "base/strings/sys_string_conversions.h"
#include "components/bookmarks/test/bookmark_test_helpers.h"
#include "ios/chrome/browser/autocomplete/autocomplete_classifier_factory.h"
#include "ios/chrome/browser/bookmarks/bookmark_model_factory.h"
+#include "ios/chrome/browser/browser_state/test_chrome_browser_state_manager.h"
#include "ios/chrome/browser/search_engines/template_url_service_factory.h"
#import "ios/chrome/browser/sessions/session_service.h"
#import "ios/chrome/browser/sessions/session_window.h"
@@ -66,7 +68,9 @@ PerfTestWithBVC::PerfTestWithBVC(std::string testGroup)
: PerfTest(testGroup),
slow_teardown_(false),
web_client_(base::MakeUnique<ChromeWebClient>()),
- provider_(ios::CreateChromeBrowserProvider()) {}
+ provider_(ios::CreateChromeBrowserProvider()),
+ browser_state_manager_(
+ base::MakeUnique<TestChromeBrowserStateManager>(base::FilePath())) {}
PerfTestWithBVC::PerfTestWithBVC(std::string testGroup,
std::string firstLabel,
@@ -83,7 +87,9 @@ PerfTestWithBVC::PerfTestWithBVC(std::string testGroup,
repeat),
slow_teardown_(slowTeardown),
web_client_(base::MakeUnique<ChromeWebClient>()),
- provider_(ios::CreateChromeBrowserProvider()) {}
+ provider_(ios::CreateChromeBrowserProvider()),
+ browser_state_manager_(
+ base::MakeUnique<TestChromeBrowserStateManager>(base::FilePath())) {}
PerfTestWithBVC::~PerfTestWithBVC() {}
« no previous file with comments | « ios/chrome/browser/test/perf_test_with_bvc_ios.h ('k') | ios/chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698