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

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

Issue 2855883005: cros: Selectively fork login assets. (Closed)
Patch Set: Created 3 years, 7 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 | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/chromeos/login/login.js » ('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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 chromeos::switches::kDbusStub, 213 chromeos::switches::kDbusStub,
214 chromeos::switches::kDisableArcDataWipe, 214 chromeos::switches::kDisableArcDataWipe,
215 chromeos::switches::kDisableArcOptInVerification, 215 chromeos::switches::kDisableArcOptInVerification,
216 chromeos::switches::kDisableLoginAnimations, 216 chromeos::switches::kDisableLoginAnimations,
217 chromeos::switches::kEnableArc, 217 chromeos::switches::kEnableArc,
218 chromeos::switches::kEnterpriseDisableArc, 218 chromeos::switches::kEnterpriseDisableArc,
219 chromeos::switches::kEnterpriseEnableForcedReEnrollment, 219 chromeos::switches::kEnterpriseEnableForcedReEnrollment,
220 chromeos::switches::kHasChromeOSDiamondKey, 220 chromeos::switches::kHasChromeOSDiamondKey,
221 chromeos::switches::kLoginProfile, 221 chromeos::switches::kLoginProfile,
222 chromeos::switches::kNaturalScrollDefault, 222 chromeos::switches::kNaturalScrollDefault,
223 chromeos::switches::kShowMdLogin,
223 chromeos::switches::kSystemInDevMode, 224 chromeos::switches::kSystemInDevMode,
224 policy::switches::kDeviceManagementUrl, 225 policy::switches::kDeviceManagementUrl,
225 wm::switches::kWindowAnimationsDisabled, 226 wm::switches::kWindowAnimationsDisabled,
226 }; 227 };
227 command_line->CopySwitchesFrom(base_command_line, 228 command_line->CopySwitchesFrom(base_command_line,
228 kForwardSwitches, 229 kForwardSwitches,
229 arraysize(kForwardSwitches)); 230 arraysize(kForwardSwitches));
230 231
231 if (start_url.is_valid()) 232 if (start_url.is_valid())
232 command_line->AppendArg(start_url.spec()); 233 command_line->AppendArg(start_url.spec());
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 // Relaunch chrome without session manager on dev box. 392 // Relaunch chrome without session manager on dev box.
392 ReLaunch(command_line); 393 ReLaunch(command_line);
393 return; 394 return;
394 } 395 }
395 396
396 // ChromeRestartRequest deletes itself after request sent to session manager. 397 // ChromeRestartRequest deletes itself after request sent to session manager.
397 (new ChromeRestartRequest(command_line.argv()))->Start(); 398 (new ChromeRestartRequest(command_line.argv()))->Start();
398 } 399 }
399 400
400 } // namespace chromeos 401 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/chromeos/login/login.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698