| OLD | NEW |
| 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 "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 ::switches::kDisableSetuidSandbox, | 93 ::switches::kDisableSetuidSandbox, |
| 94 ::switches::kDisableThreadedScrolling, | 94 ::switches::kDisableThreadedScrolling, |
| 95 ::switches::kDisableTouchDragDrop, | 95 ::switches::kDisableTouchDragDrop, |
| 96 ::switches::kDisableTouchEditing, | 96 ::switches::kDisableTouchEditing, |
| 97 ::switches::kEnableAcceleratedJpegDecoding, | 97 ::switches::kEnableAcceleratedJpegDecoding, |
| 98 ::switches::kEnableBeginFrameScheduling, | 98 ::switches::kEnableBeginFrameScheduling, |
| 99 ::switches::kEnablePreferCompositingToLCDText, | 99 ::switches::kEnablePreferCompositingToLCDText, |
| 100 ::switches::kEnableDelegatedRenderer, | 100 ::switches::kEnableDelegatedRenderer, |
| 101 ::switches::kDisableDisplayList2dCanvas, | 101 ::switches::kDisableDisplayList2dCanvas, |
| 102 ::switches::kEnableDisplayList2dCanvas, | 102 ::switches::kEnableDisplayList2dCanvas, |
| 103 ::switches::kForceDisplayList2dCanvas, |
| 103 ::switches::kEnableEncryptedMedia, | 104 ::switches::kEnableEncryptedMedia, |
| 104 ::switches::kDisableGpuSandbox, | 105 ::switches::kDisableGpuSandbox, |
| 105 ::switches::kEnableContainerCulling, | 106 ::switches::kEnableContainerCulling, |
| 106 ::switches::kEnableTextBlobs, | 107 ::switches::kEnableTextBlobs, |
| 107 ::switches::kEnableDistanceFieldText, | 108 ::switches::kEnableDistanceFieldText, |
| 108 ::switches::kEnableGpuRasterization, | 109 ::switches::kEnableGpuRasterization, |
| 109 ::switches::kEnableImageColorProfiles, | 110 ::switches::kEnableImageColorProfiles, |
| 110 ::switches::kEnableImplSidePainting, | 111 ::switches::kEnableImplSidePainting, |
| 111 ::switches::kEnableLogging, | 112 ::switches::kEnableLogging, |
| 112 ::switches::kEnableLowResTiling, | 113 ::switches::kEnableLowResTiling, |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 // Relaunch chrome without session manager on dev box. | 380 // Relaunch chrome without session manager on dev box. |
| 380 ReLaunch(command_line); | 381 ReLaunch(command_line); |
| 381 return; | 382 return; |
| 382 } | 383 } |
| 383 | 384 |
| 384 // ChromeRestartRequest deletes itself after request sent to session manager. | 385 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 385 (new ChromeRestartRequest(command_line))->Start(); | 386 (new ChromeRestartRequest(command_line))->Start(); |
| 386 } | 387 } |
| 387 | 388 |
| 388 } // namespace chromeos | 389 } // namespace chromeos |
| OLD | NEW |