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

Side by Side Diff: chrome/browser/utility_process_host.cc

Issue 3427019: Remove logging for issue 35198. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Created 10 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
« no previous file with comments | « base/file_util_win.cc ('k') | chrome/common/chrome_switches.h » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/utility_process_host.h" 5 #include "chrome/browser/utility_process_host.h"
6 6
7 #include "app/app_switches.h" 7 #include "app/app_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 cmd_line->AppendSwitch(switches::kChromeFrame); 122 cmd_line->AppendSwitch(switches::kChromeFrame);
123 123
124 if (browser_command_line.HasSwitch(switches::kDisableApps)) 124 if (browser_command_line.HasSwitch(switches::kDisableApps))
125 cmd_line->AppendSwitch(switches::kDisableApps); 125 cmd_line->AppendSwitch(switches::kDisableApps);
126 126
127 if (browser_command_line.HasSwitch( 127 if (browser_command_line.HasSwitch(
128 switches::kEnableExperimentalExtensionApis)) { 128 switches::kEnableExperimentalExtensionApis)) {
129 cmd_line->AppendSwitch(switches::kEnableExperimentalExtensionApis); 129 cmd_line->AppendSwitch(switches::kEnableExperimentalExtensionApis);
130 } 130 }
131 131
132 if (browser_command_line.HasSwitch(switches::kIssue35198ExtraLogging))
133 cmd_line->AppendSwitch(switches::kIssue35198ExtraLogging);
134
135 #if defined(OS_POSIX) 132 #if defined(OS_POSIX)
136 // TODO(port): Sandbox this on Linux. Also, zygote this to work with 133 // TODO(port): Sandbox this on Linux. Also, zygote this to work with
137 // Linux updating. 134 // Linux updating.
138 bool has_cmd_prefix = browser_command_line.HasSwitch( 135 bool has_cmd_prefix = browser_command_line.HasSwitch(
139 switches::kUtilityCmdPrefix); 136 switches::kUtilityCmdPrefix);
140 if (has_cmd_prefix) { 137 if (has_cmd_prefix) {
141 // launch the utility child process with some prefix (usually "xterm -e gdb 138 // launch the utility child process with some prefix (usually "xterm -e gdb
142 // --args"). 139 // --args").
143 cmd_line->PrependWrapper(browser_command_line.GetSwitchValueNative( 140 cmd_line->PrependWrapper(browser_command_line.GetSwitchValueNative(
144 switches::kUtilityCmdPrefix)); 141 switches::kUtilityCmdPrefix));
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 IPC_MESSAGE_HANDLER(UtilityHostMsg_DecodeImage_Succeeded, 186 IPC_MESSAGE_HANDLER(UtilityHostMsg_DecodeImage_Succeeded,
190 Client::OnDecodeImageSucceeded) 187 Client::OnDecodeImageSucceeded)
191 IPC_MESSAGE_HANDLER(UtilityHostMsg_DecodeImage_Failed, 188 IPC_MESSAGE_HANDLER(UtilityHostMsg_DecodeImage_Failed,
192 Client::OnDecodeImageFailed) 189 Client::OnDecodeImageFailed)
193 IPC_MESSAGE_HANDLER(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Succeeded, 190 IPC_MESSAGE_HANDLER(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Succeeded,
194 Client::OnIDBKeysFromValuesAndKeyPathSucceeded) 191 Client::OnIDBKeysFromValuesAndKeyPathSucceeded)
195 IPC_MESSAGE_HANDLER(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Failed, 192 IPC_MESSAGE_HANDLER(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Failed,
196 Client::OnIDBKeysFromValuesAndKeyPathFailed) 193 Client::OnIDBKeysFromValuesAndKeyPathFailed)
197 IPC_END_MESSAGE_MAP_EX() 194 IPC_END_MESSAGE_MAP_EX()
198 } 195 }
OLDNEW
« no previous file with comments | « base/file_util_win.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698