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

Unified Diff: chrome/browser/ui/app_list/app_list_controller_browsertest.cc

Issue 2582743002: Remove obsolete app_list Linux code. (Closed)
Patch Set: tapted comments. Created 4 years 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/app_list_controller_browsertest.cc
diff --git a/chrome/browser/ui/app_list/app_list_controller_browsertest.cc b/chrome/browser/ui/app_list/app_list_controller_browsertest.cc
index 93372620e0377e5489c75ca5b4d9ace8096a905b..bc5ddf488262df76a2391059069dee4589209c5a 100644
--- a/chrome/browser/ui/app_list/app_list_controller_browsertest.cc
+++ b/chrome/browser/ui/app_list/app_list_controller_browsertest.cc
@@ -21,6 +21,8 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/testing_profile.h"
+#include "chromeos/chromeos_switches.h"
+#include "components/user_manager/user_names.h"
#include "ui/app_list/app_list_model.h"
#include "ui/app_list/app_list_switches.h"
#include "ui/app_list/search_box_model.h"
@@ -28,11 +30,6 @@
#include "ui/app_list/search_result_observer.h"
#include "ui/base/models/list_model_observer.h"
-#if defined(OS_CHROMEOS)
-#include "chromeos/chromeos_switches.h"
-#include "components/user_manager/user_names.h"
-#endif // defined(OS_CHROMEOS)
-
// Browser Test for AppListController that runs on all platforms supporting
// app_list.
typedef InProcessBrowserTest AppListControllerBrowserTest;
@@ -165,8 +162,6 @@ IN_PROC_BROWSER_TEST_F(AppListControllerSearchResultsBrowserTest,
service->DismissAppList();
}
-#if defined(OS_CHROMEOS)
-
class AppListControllerGuestModeBrowserTest : public InProcessBrowserTest {
public:
AppListControllerGuestModeBrowserTest() {}
@@ -196,5 +191,3 @@ IN_PROC_BROWSER_TEST_F(AppListControllerGuestModeBrowserTest, Incognito) {
service->ShowForProfile(browser()->profile());
EXPECT_EQ(browser()->profile(), service->GetCurrentAppListProfile());
}
-
-#endif // defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698