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

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

Issue 114923005: base: Discardable memory types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add switches::kUseDiscardableMemory to kForwardSwitches Created 6 years, 11 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/command_line.h" 10 #include "base/command_line.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 ::switches::kTouchEvents, 131 ::switches::kTouchEvents,
132 ::switches::kTouchOptimizedUI, 132 ::switches::kTouchOptimizedUI,
133 ::switches::kUIDisableDeadlineScheduling, 133 ::switches::kUIDisableDeadlineScheduling,
134 ::switches::kUIDisableThreadedCompositing, 134 ::switches::kUIDisableThreadedCompositing,
135 ::switches::kUIEnableDeadlineScheduling, 135 ::switches::kUIEnableDeadlineScheduling,
136 ::switches::kUIMaxFramesPending, 136 ::switches::kUIMaxFramesPending,
137 ::switches::kUIPrioritizeInGpuProcess, 137 ::switches::kUIPrioritizeInGpuProcess,
138 #if defined(USE_CRAS) 138 #if defined(USE_CRAS)
139 ::switches::kUseCras, 139 ::switches::kUseCras,
140 #endif 140 #endif
141 ::switches::kUseDiscardableMemory,
141 ::switches::kUseGL, 142 ::switches::kUseGL,
142 ::switches::kUserDataDir, 143 ::switches::kUserDataDir,
143 ::switches::kV, 144 ::switches::kV,
144 ::switches::kVModule, 145 ::switches::kVModule,
145 ::switches::kWebGLCommandBufferSizeKb, 146 ::switches::kWebGLCommandBufferSizeKb,
146 ::switches::kEnableWebGLDraftExtensions, 147 ::switches::kEnableWebGLDraftExtensions,
147 #if defined(ENABLE_WEBRTC) 148 #if defined(ENABLE_WEBRTC)
148 ::switches::kDisableWebRtcHWDecoding, 149 ::switches::kDisableWebRtcHWDecoding,
149 ::switches::kDisableWebRtcHWEncoding, 150 ::switches::kDisableWebRtcHWEncoding,
150 ::switches::kEnableAudioTrackProcessing, 151 ::switches::kEnableAudioTrackProcessing,
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 // Relaunch chrome without session manager on dev box. 369 // Relaunch chrome without session manager on dev box.
369 ReLaunch(command_line); 370 ReLaunch(command_line);
370 return; 371 return;
371 } 372 }
372 373
373 // ChromeRestartRequest deletes itself after request sent to session manager. 374 // ChromeRestartRequest deletes itself after request sent to session manager.
374 (new ChromeRestartRequest(command_line))->Start(); 375 (new ChromeRestartRequest(command_line))->Start();
375 } 376 }
376 377
377 } // namespace chromeos 378 } // namespace chromeos
OLDNEW
« no previous file with comments | « base/memory/discardable_memory_win.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