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

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

Issue 14283013: Reland https://chromiumcodereview.appspot.com/14286004 which was reverted fue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
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/chromeos/chromeos_version.h" 10 #include "base/chromeos/chromeos_version.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 ::switches::kDisableEncryptedMedia, 77 ::switches::kDisableEncryptedMedia,
78 ::switches::kDisableForceCompositingMode, 78 ::switches::kDisableForceCompositingMode,
79 ::switches::kDisableGpuShaderDiskCache, 79 ::switches::kDisableGpuShaderDiskCache,
80 ::switches::kDisableGpuWatchdog, 80 ::switches::kDisableGpuWatchdog,
81 ::switches::kDisableLoginAnimations, 81 ::switches::kDisableLoginAnimations,
82 ::switches::kDisableOobeAnimation, 82 ::switches::kDisableOobeAnimation,
83 ::switches::kDisablePanelFitting, 83 ::switches::kDisablePanelFitting,
84 ::switches::kDisableSeccompFilterSandbox, 84 ::switches::kDisableSeccompFilterSandbox,
85 ::switches::kDisableSeccompSandbox, 85 ::switches::kDisableSeccompSandbox,
86 ::switches::kDisableThreadedCompositing, 86 ::switches::kDisableThreadedCompositing,
87 ::switches::kDisableTouchDragDrop,
88 ::switches::kDisableTouchEditing,
87 ::switches::kEnableAcceleratedOverflowScroll, 89 ::switches::kEnableAcceleratedOverflowScroll,
88 ::switches::kEnableCompositingForFixedPosition, 90 ::switches::kEnableCompositingForFixedPosition,
89 ::switches::kEnableGestureTapHighlight, 91 ::switches::kEnableGestureTapHighlight,
90 ::switches::kDisableGestureTapHighlight, 92 ::switches::kDisableGestureTapHighlight,
91 ::switches::kDisableGpuSandbox, 93 ::switches::kDisableGpuSandbox,
92 ::switches::kEnableGpuSandbox, 94 ::switches::kEnableGpuSandbox,
93 ::switches::kEnableLogging, 95 ::switches::kEnableLogging,
94 ::switches::kEnablePinch, 96 ::switches::kEnablePinch,
95 ::switches::kEnableThreadedCompositing, 97 ::switches::kEnableThreadedCompositing,
98 ::switches::kEnableTouchDragDrop,
99 ::switches::kEnableTouchEditing,
96 ::switches::kEnableViewport, 100 ::switches::kEnableViewport,
97 ::switches::kEnableVsyncNotification, 101 ::switches::kEnableVsyncNotification,
98 ::switches::kForceDeviceScaleFactor, 102 ::switches::kForceDeviceScaleFactor,
99 ::switches::kGpuStartupDialog, 103 ::switches::kGpuStartupDialog,
100 ::switches::kHasChromeOSDiamondKey, 104 ::switches::kHasChromeOSDiamondKey,
101 ::switches::kHasChromeOSKeyboard, 105 ::switches::kHasChromeOSKeyboard,
102 ::switches::kNaturalScrollDefault, 106 ::switches::kNaturalScrollDefault,
103 ::switches::kNoSandbox, 107 ::switches::kNoSandbox,
104 ::switches::kPpapiFlashArgs, 108 ::switches::kPpapiFlashArgs,
105 ::switches::kPpapiFlashInProcess, 109 ::switches::kPpapiFlashInProcess,
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 // Relaunch chrome without session manager on dev box. 336 // Relaunch chrome without session manager on dev box.
333 ReLaunch(command_line); 337 ReLaunch(command_line);
334 return; 338 return;
335 } 339 }
336 340
337 // ChromeRestartRequest deletes itself after request sent to session manager. 341 // ChromeRestartRequest deletes itself after request sent to session manager.
338 (new ChromeRestartRequest(command_line))->Start(); 342 (new ChromeRestartRequest(command_line))->Start();
339 } 343 }
340 344
341 } // namespace chromeos 345 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698