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

Side by Side Diff: chrome/common/debug_flags.cc

Issue 2929: Some initial work on compiling chrome/common/ on Linux.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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/common/SConscript ('k') | chrome/common/gfx/color_utils.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 (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <windows.h>
6
7 #include "chrome/common/debug_flags.h" 5 #include "chrome/common/debug_flags.h"
8 6
9 #include "base/base_switches.h" 7 #include "base/base_switches.h"
10 #include "base/command_line.h" 8 #include "base/command_line.h"
11 #include "chrome/common/chrome_switches.h" 9 #include "chrome/common/chrome_switches.h"
12 10
13 bool DebugFlags::ProcessDebugFlags(std::wstring* command_line, 11 bool DebugFlags::ProcessDebugFlags(std::wstring* command_line,
14 ChildProcessType type, 12 ChildProcessType type,
15 bool is_in_sandbox) { 13 bool is_in_sandbox) {
16 bool should_help_child = false; 14 bool should_help_child = false;
(...skipping 19 matching lines...) Expand all
36 (type == RENDERER && value == switches::kRendererProcess) || 34 (type == RENDERER && value == switches::kRendererProcess) ||
37 (type == PLUGIN && value == switches::kPluginProcess)) { 35 (type == PLUGIN && value == switches::kPluginProcess)) {
38 CommandLine::AppendSwitch(command_line, switches::kWaitForDebugger); 36 CommandLine::AppendSwitch(command_line, switches::kWaitForDebugger);
39 } 37 }
40 CommandLine::AppendSwitchWithValue(command_line, 38 CommandLine::AppendSwitchWithValue(command_line,
41 switches::kWaitForDebuggerChildren, 39 switches::kWaitForDebuggerChildren,
42 value); 40 value);
43 } 41 }
44 return should_help_child; 42 return should_help_child;
45 } 43 }
OLDNEW
« no previous file with comments | « chrome/common/SConscript ('k') | chrome/common/gfx/color_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698