Index: ui/app_list/test/app_list_test_view_delegate.cc |
diff --git a/ui/app_list/test/app_list_test_view_delegate.cc b/ui/app_list/test/app_list_test_view_delegate.cc |
index 4052ea60160b06a1417c6168ef4bd0be200bba03..2fb382dc2846c52d9c3eeb208110bdb5a07f97f9 100644 |
--- a/ui/app_list/test/app_list_test_view_delegate.cc |
+++ b/ui/app_list/test/app_list_test_view_delegate.cc |
@@ -54,6 +54,7 @@ AppListTestViewDelegate::AppListTestViewDelegate() |
: dismiss_count_(0), |
toggle_speech_recognition_count_(0), |
open_search_result_count_(0), |
+ next_profile_app_count_(0), |
test_signin_delegate_(new TestSigninDelegate), |
model_(new AppListTestModel), |
speech_ui_(SPEECH_RECOGNITION_OFF) { |
@@ -78,6 +79,11 @@ bool AppListTestViewDelegate::ForceNativeDesktop() const { |
return false; |
} |
+void AppListTestViewDelegate::SetProfileByPath( |
+ const base::FilePath& profile_path) { |
+ ReplaceTestModel(next_profile_app_count_); |
+} |
+ |
AppListModel* AppListTestViewDelegate::GetModel() { |
return model_.get(); |
} |