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

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

Issue 15383003: Rename switch to disable prefixed Encrypted Media APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase only Created 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/android/chrome_startup_flags.cc ('k') | content/browser/DEPS » ('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 <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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 DCHECK_NE(&base_command_line, command_line); 68 DCHECK_NE(&base_command_line, command_line);
69 69
70 static const char* kForwardSwitches[] = { 70 static const char* kForwardSwitches[] = {
71 ::switches::kAllowWebUICompositing, 71 ::switches::kAllowWebUICompositing,
72 ::switches::kDeviceManagementUrl, 72 ::switches::kDeviceManagementUrl,
73 ::switches::kDisableAccelerated2dCanvas, 73 ::switches::kDisableAccelerated2dCanvas,
74 ::switches::kDisableAcceleratedOverflowScroll, 74 ::switches::kDisableAcceleratedOverflowScroll,
75 ::switches::kDisableAcceleratedPlugins, 75 ::switches::kDisableAcceleratedPlugins,
76 ::switches::kDisableAcceleratedVideoDecode, 76 ::switches::kDisableAcceleratedVideoDecode,
77 ::switches::kDisableBrowserPluginCompositing, 77 ::switches::kDisableBrowserPluginCompositing,
78 ::switches::kDisableEncryptedMedia,
79 ::switches::kDisableForceCompositingMode, 78 ::switches::kDisableForceCompositingMode,
80 ::switches::kDisableGpuShaderDiskCache, 79 ::switches::kDisableGpuShaderDiskCache,
81 ::switches::kDisableGpuWatchdog, 80 ::switches::kDisableGpuWatchdog,
81 ::switches::kDisableLegacyEncryptedMedia,
82 ::switches::kDisablePanelFitting, 82 ::switches::kDisablePanelFitting,
83 ::switches::kDisableSeccompFilterSandbox, 83 ::switches::kDisableSeccompFilterSandbox,
84 ::switches::kDisableThreadedCompositing, 84 ::switches::kDisableThreadedCompositing,
85 ::switches::kDisableTouchDragDrop, 85 ::switches::kDisableTouchDragDrop,
86 ::switches::kDisableTouchEditing, 86 ::switches::kDisableTouchEditing,
87 ::switches::kDisableWebKitMediaSource,
87 ::switches::kEnableAcceleratedOverflowScroll, 88 ::switches::kEnableAcceleratedOverflowScroll,
88 ::switches::kEnableBeginFrameScheduling, 89 ::switches::kEnableBeginFrameScheduling,
89 ::switches::kEnableBrowserInputController, 90 ::switches::kEnableBrowserInputController,
90 ::switches::kEnableCompositingForFixedPosition, 91 ::switches::kEnableCompositingForFixedPosition,
92 ::switches::kEnableEncryptedMedia,
91 ::switches::kEnableGestureTapHighlight, 93 ::switches::kEnableGestureTapHighlight,
92 ::switches::kDisableGestureTapHighlight, 94 ::switches::kDisableGestureTapHighlight,
93 ::switches::kDisableGpuSandbox, 95 ::switches::kDisableGpuSandbox,
94 ::switches::kEnableLogging, 96 ::switches::kEnableLogging,
95 ::switches::kEnablePinch, 97 ::switches::kEnablePinch,
96 ::switches::kEnableThreadedCompositing, 98 ::switches::kEnableThreadedCompositing,
97 ::switches::kEnableTouchDragDrop, 99 ::switches::kEnableTouchDragDrop,
98 ::switches::kEnableTouchEditing, 100 ::switches::kEnableTouchEditing,
99 ::switches::kEnableViewport, 101 ::switches::kEnableViewport,
100 ::switches::kForceDeviceScaleFactor, 102 ::switches::kForceDeviceScaleFactor,
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 // Relaunch chrome without session manager on dev box. 340 // Relaunch chrome without session manager on dev box.
339 ReLaunch(command_line); 341 ReLaunch(command_line);
340 return; 342 return;
341 } 343 }
342 344
343 // ChromeRestartRequest deletes itself after request sent to session manager. 345 // ChromeRestartRequest deletes itself after request sent to session manager.
344 (new ChromeRestartRequest(command_line))->Start(); 346 (new ChromeRestartRequest(command_line))->Start();
345 } 347 }
346 348
347 } // namespace chromeos 349 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_startup_flags.cc ('k') | content/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698