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

Side by Side Diff: chrome/browser/chromeos/login/chrome_restart_request.cc

Issue 2730003002: [M57] Enable ARC kiosk mode always when ARC is available (Closed)
Patch Set: rebase Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/login/chrome_restart_request.h" 5 #include "chrome/browser/chromeos/login/chrome_restart_request.h"
6 6
7 #include <sys/socket.h> 7 #include <sys/socket.h>
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/common/ash_switches.h" 10 #include "ash/common/ash_switches.h"
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 cc::switches::kShowSurfaceDamageRects, 209 cc::switches::kShowSurfaceDamageRects,
210 cc::switches::kSlowDownRasterScaleFactor, 210 cc::switches::kSlowDownRasterScaleFactor,
211 cc::switches::kUIEnableLayerLists, 211 cc::switches::kUIEnableLayerLists,
212 cc::switches::kUIShowFPSCounter, 212 cc::switches::kUIShowFPSCounter,
213 chromeos::switches::kArcAvailable, 213 chromeos::switches::kArcAvailable,
214 chromeos::switches::kDbusStub, 214 chromeos::switches::kDbusStub,
215 chromeos::switches::kDisableArcDataWipe, 215 chromeos::switches::kDisableArcDataWipe,
216 chromeos::switches::kDisableArcOptInVerification, 216 chromeos::switches::kDisableArcOptInVerification,
217 chromeos::switches::kDisableLoginAnimations, 217 chromeos::switches::kDisableLoginAnimations,
218 chromeos::switches::kEnableArc, 218 chromeos::switches::kEnableArc,
219 chromeos::switches::kEnableArcKiosk,
220 chromeos::switches::kEnterpriseDisableArc, 219 chromeos::switches::kEnterpriseDisableArc,
221 chromeos::switches::kEnterpriseEnableForcedReEnrollment, 220 chromeos::switches::kEnterpriseEnableForcedReEnrollment,
222 chromeos::switches::kHasChromeOSDiamondKey, 221 chromeos::switches::kHasChromeOSDiamondKey,
223 chromeos::switches::kLoginProfile, 222 chromeos::switches::kLoginProfile,
224 chromeos::switches::kNaturalScrollDefault, 223 chromeos::switches::kNaturalScrollDefault,
225 chromeos::switches::kSystemInDevMode, 224 chromeos::switches::kSystemInDevMode,
226 policy::switches::kDeviceManagementUrl, 225 policy::switches::kDeviceManagementUrl,
227 wm::switches::kWindowAnimationsDisabled, 226 wm::switches::kWindowAnimationsDisabled,
228 }; 227 };
229 command_line->CopySwitchesFrom(base_command_line, 228 command_line->CopySwitchesFrom(base_command_line,
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 // Relaunch chrome without session manager on dev box. 392 // Relaunch chrome without session manager on dev box.
394 ReLaunch(command_line); 393 ReLaunch(command_line);
395 return; 394 return;
396 } 395 }
397 396
398 // ChromeRestartRequest deletes itself after request sent to session manager. 397 // ChromeRestartRequest deletes itself after request sent to session manager.
399 (new ChromeRestartRequest(command_line.argv()))->Start(); 398 (new ChromeRestartRequest(command_line.argv()))->Start();
400 } 399 }
401 400
402 } // namespace chromeos 401 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager_browsertest.cc ('k') | chromeos/chromeos_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698