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

Unified Diff: chrome/browser/ui/app_list/test/chrome_app_list_test_support.h

Issue 552153002: Adds AppListServiceImplBrowserTest.ShowLoadedProfiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20140908-AppList-ALVD-SpeechUI-fromcl
Patch Set: respond to commments Created 6 years, 3 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
Index: chrome/browser/ui/app_list/test/chrome_app_list_test_support.h
diff --git a/chrome/browser/ui/app_list/test/chrome_app_list_test_support.h b/chrome/browser/ui/app_list/test/chrome_app_list_test_support.h
index fe79605d4df8f0ef2ca309a741f947178106ad95..ebd8929fe6908eb0bb1b8f59e889e8ea90faa0b9 100644
--- a/chrome/browser/ui/app_list/test/chrome_app_list_test_support.h
+++ b/chrome/browser/ui/app_list/test/chrome_app_list_test_support.h
@@ -10,14 +10,22 @@ class AppListModel;
}
class AppListService;
+class AppListServiceImpl;
+class Profile;
namespace test {
// Gets the model keyed to the profile currently associated with |service|.
app_list::AppListModel* GetAppListModel(AppListService* service);
-// Gets the app list service for the desktop type currently being tested.
+// Gets the app list service for the desktop type currently being tested. These
+// are the same, but split so that files don't need to know that the impl is a
+// subclass.
AppListService* GetAppListService();
+AppListServiceImpl* GetAppListServiceImpl();
+
+// Creates a second profile in a nested message loop for testing the app list.
+Profile* CreateSecondProfileAsync();
} // namespace test

Powered by Google App Engine
This is Rietveld 408576698