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

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

Issue 234583003: Add a command line switch --enable-consumer-management. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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 <vector> 7 #include <vector>
8 8
9 #include "ash/ash_switches.h" 9 #include "ash/ash_switches.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 cc::switches::kShowNonOccludingRects, 195 cc::switches::kShowNonOccludingRects,
196 cc::switches::kShowOccludingRects, 196 cc::switches::kShowOccludingRects,
197 cc::switches::kShowPropertyChangedRects, 197 cc::switches::kShowPropertyChangedRects,
198 cc::switches::kShowReplicaScreenSpaceRects, 198 cc::switches::kShowReplicaScreenSpaceRects,
199 cc::switches::kShowScreenSpaceRects, 199 cc::switches::kShowScreenSpaceRects,
200 cc::switches::kShowSurfaceDamageRects, 200 cc::switches::kShowSurfaceDamageRects,
201 cc::switches::kSlowDownRasterScaleFactor, 201 cc::switches::kSlowDownRasterScaleFactor,
202 cc::switches::kUIDisablePartialSwap, 202 cc::switches::kUIDisablePartialSwap,
203 chromeos::switches::kDbusStub, 203 chromeos::switches::kDbusStub,
204 chromeos::switches::kDisableLoginAnimations, 204 chromeos::switches::kDisableLoginAnimations,
205 chromeos::switches::kEnableConsumerManagement,
205 chromeos::switches::kHasChromeOSDiamondKey, 206 chromeos::switches::kHasChromeOSDiamondKey,
206 chromeos::switches::kHasChromeOSKeyboard, 207 chromeos::switches::kHasChromeOSKeyboard,
207 chromeos::switches::kLoginProfile, 208 chromeos::switches::kLoginProfile,
208 chromeos::switches::kNaturalScrollDefault, 209 chromeos::switches::kNaturalScrollDefault,
209 chromeos::switches::kSystemInDevMode, 210 chromeos::switches::kSystemInDevMode,
210 ::switches::kEnableBrowserTextSubpixelPositioning, 211 ::switches::kEnableBrowserTextSubpixelPositioning,
211 ::switches::kEnableWebkitTextSubpixelPositioning, 212 ::switches::kEnableWebkitTextSubpixelPositioning,
212 policy::switches::kDeviceManagementUrl, 213 policy::switches::kDeviceManagementUrl,
213 wm::switches::kWindowAnimationsDisabled, 214 wm::switches::kWindowAnimationsDisabled,
214 }; 215 };
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 // Relaunch chrome without session manager on dev box. 373 // Relaunch chrome without session manager on dev box.
373 ReLaunch(command_line); 374 ReLaunch(command_line);
374 return; 375 return;
375 } 376 }
376 377
377 // ChromeRestartRequest deletes itself after request sent to session manager. 378 // ChromeRestartRequest deletes itself after request sent to session manager.
378 (new ChromeRestartRequest(command_line))->Start(); 379 (new ChromeRestartRequest(command_line))->Start();
379 } 380 }
380 381
381 } // namespace chromeos 382 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698