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

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

Issue 1755163003: CL for perf tryjob on mac Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('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/base_switches.h" 10 #include "base/base_switches.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // - Set start url if given; 65 // - Set start url if given;
66 // - Append/override switches using |new_switches|; 66 // - Append/override switches using |new_switches|;
67 void DeriveCommandLine(const GURL& start_url, 67 void DeriveCommandLine(const GURL& start_url,
68 const base::CommandLine& base_command_line, 68 const base::CommandLine& base_command_line,
69 const base::DictionaryValue& new_switches, 69 const base::DictionaryValue& new_switches,
70 base::CommandLine* command_line) { 70 base::CommandLine* command_line) {
71 DCHECK_NE(&base_command_line, command_line); 71 DCHECK_NE(&base_command_line, command_line);
72 72
73 static const char* const kForwardSwitches[] = { 73 static const char* const kForwardSwitches[] = {
74 ::switches::kBlinkSettings, 74 ::switches::kBlinkSettings,
75 ::switches::kDisable2dCanvasImageChromium,
75 ::switches::kDisableAccelerated2dCanvas, 76 ::switches::kDisableAccelerated2dCanvas,
76 ::switches::kDisableAcceleratedJpegDecoding, 77 ::switches::kDisableAcceleratedJpegDecoding,
77 ::switches::kDisableAcceleratedMjpegDecode, 78 ::switches::kDisableAcceleratedMjpegDecode,
78 ::switches::kDisableAcceleratedVideoDecode, 79 ::switches::kDisableAcceleratedVideoDecode,
79 ::switches::kDisableBlinkFeatures, 80 ::switches::kDisableBlinkFeatures,
80 ::switches::kDisableCastStreamingHWEncoding, 81 ::switches::kDisableCastStreamingHWEncoding,
81 ::switches::kDisableDistanceFieldText, 82 ::switches::kDisableDistanceFieldText,
82 ::switches::kDisableGpu, 83 ::switches::kDisableGpu,
83 ::switches::kDisableGpuMemoryBufferVideoFrames, 84 ::switches::kDisableGpuMemoryBufferVideoFrames,
84 ::switches::kDisableGpuShaderDiskCache, 85 ::switches::kDisableGpuShaderDiskCache,
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 // Relaunch chrome without session manager on dev box. 354 // Relaunch chrome without session manager on dev box.
354 ReLaunch(command_line); 355 ReLaunch(command_line);
355 return; 356 return;
356 } 357 }
357 358
358 // ChromeRestartRequest deletes itself after request sent to session manager. 359 // ChromeRestartRequest deletes itself after request sent to session manager.
359 (new ChromeRestartRequest(command_line.argv()))->Start(); 360 (new ChromeRestartRequest(command_line.argv()))->Start();
360 } 361 }
361 362
362 } // namespace chromeos 363 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698