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

Unified Diff: chrome/browser/chromeos/login/chrome_restart_request.cc

Issue 689683004: Make login code not depend on Ash when use_athena=1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@athena_do_not_use_ash44_ui
Patch Set: Created 6 years, 2 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 | « no previous file | chrome/browser/chromeos/login/helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/chrome_restart_request.cc
diff --git a/chrome/browser/chromeos/login/chrome_restart_request.cc b/chrome/browser/chromeos/login/chrome_restart_request.cc
index da279f7912f50c16257c94cd1b4f32e46cb0312f..9b4ef5be99502772fa6bdd6db671fa4787b598af 100644
--- a/chrome/browser/chromeos/login/chrome_restart_request.cc
+++ b/chrome/browser/chromeos/login/chrome_restart_request.cc
@@ -6,7 +6,6 @@
#include <vector>
-#include "ash/ash_switches.h"
#include "base/command_line.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop/message_loop.h"
@@ -47,6 +46,10 @@
#include "ui/wm/core/wm_core_switches.h"
#include "url/gurl.h"
+#if !defined(USE_ATHENA)
+#include "ash/ash_switches.h"
+#endif
+
using content::BrowserThread;
namespace chromeos {
@@ -163,6 +166,7 @@ std::string DeriveCommandLine(const GURL& start_url,
#endif
app_list::switches::kDisableSyncAppList,
app_list::switches::kEnableSyncAppList,
+#if !defined(USE_ATHENA)
ash::switches::kAshDefaultWallpaperLarge,
ash::switches::kAshDefaultWallpaperSmall,
ash::switches::kAshGuestWallpaperLarge,
@@ -170,6 +174,7 @@ std::string DeriveCommandLine(const GURL& start_url,
ash::switches::kAshHostWindowBounds,
ash::switches::kAshTouchHud,
ash::switches::kAuraLegacyPowerButton,
+#endif
// Please keep these in alphabetical order. Non-UI Compositor switches
// here should also be added to
// content/browser/renderer_host/render_process_host_impl.cc.
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698