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

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

Issue 2925343002: Make WebUI MD login and lock screen default (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chromeos/login/oobe_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/ash_switches.h" 10 #include "ash/ash_switches.h"
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 chromeos::switches::kDisableArcDataWipe, 211 chromeos::switches::kDisableArcDataWipe,
212 chromeos::switches::kDisableArcOptInVerification, 212 chromeos::switches::kDisableArcOptInVerification,
213 chromeos::switches::kDisableLoginAnimations, 213 chromeos::switches::kDisableLoginAnimations,
214 chromeos::switches::kEnableArc, 214 chromeos::switches::kEnableArc,
215 chromeos::switches::kEnterpriseDisableArc, 215 chromeos::switches::kEnterpriseDisableArc,
216 chromeos::switches::kEnterpriseEnableForcedReEnrollment, 216 chromeos::switches::kEnterpriseEnableForcedReEnrollment,
217 chromeos::switches::kHasChromeOSDiamondKey, 217 chromeos::switches::kHasChromeOSDiamondKey,
218 chromeos::switches::kLoginProfile, 218 chromeos::switches::kLoginProfile,
219 chromeos::switches::kNaturalScrollDefault, 219 chromeos::switches::kNaturalScrollDefault,
220 chromeos::switches::kShowMdLogin, 220 chromeos::switches::kShowMdLogin,
221 chromeos::switches::kShowNonViewMdLogin, 221 chromeos::switches::kShowNonMdLogin,
222 chromeos::switches::kSystemInDevMode, 222 chromeos::switches::kSystemInDevMode,
223 policy::switches::kDeviceManagementUrl, 223 policy::switches::kDeviceManagementUrl,
224 wm::switches::kWindowAnimationsDisabled, 224 wm::switches::kWindowAnimationsDisabled,
225 }; 225 };
226 command_line->CopySwitchesFrom(base_command_line, 226 command_line->CopySwitchesFrom(base_command_line,
227 kForwardSwitches, 227 kForwardSwitches,
228 arraysize(kForwardSwitches)); 228 arraysize(kForwardSwitches));
229 229
230 if (start_url.is_valid()) 230 if (start_url.is_valid())
231 command_line->AppendArg(start_url.spec()); 231 command_line->AppendArg(start_url.spec());
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 // Relaunch chrome without session manager on dev box. 390 // Relaunch chrome without session manager on dev box.
391 ReLaunch(command_line); 391 ReLaunch(command_line);
392 return; 392 return;
393 } 393 }
394 394
395 // ChromeRestartRequest deletes itself after request sent to session manager. 395 // ChromeRestartRequest deletes itself after request sent to session manager.
396 (new ChromeRestartRequest(command_line.argv()))->Start(); 396 (new ChromeRestartRequest(command_line.argv()))->Start();
397 } 397 }
398 398
399 } // namespace chromeos 399 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chromeos/login/oobe_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698