OLD | NEW |
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 // Represents the browser side of the browser <--> renderer communication | 5 // Represents the browser side of the browser <--> renderer communication |
6 // channel. There will be one RenderProcessHost per renderer process. | 6 // channel. There will be one RenderProcessHost per renderer process. |
7 | 7 |
8 #include "chrome/browser/renderer_host/browser_render_process_host.h" | 8 #include "chrome/browser/renderer_host/browser_render_process_host.h" |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 switches::kDumpHistogramsOnExit, | 258 switches::kDumpHistogramsOnExit, |
259 switches::kDisableLogging, | 259 switches::kDisableLogging, |
260 switches::kLoggingLevel, | 260 switches::kLoggingLevel, |
261 switches::kDebugPrint, | 261 switches::kDebugPrint, |
262 switches::kAllowAllActiveX, | 262 switches::kAllowAllActiveX, |
263 switches::kMemoryProfiling, | 263 switches::kMemoryProfiling, |
264 switches::kEnableWatchdog, | 264 switches::kEnableWatchdog, |
265 switches::kMessageLoopHistogrammer, | 265 switches::kMessageLoopHistogrammer, |
266 switches::kEnableDCHECK, | 266 switches::kEnableDCHECK, |
267 switches::kSilentDumpOnDCHECK, | 267 switches::kSilentDumpOnDCHECK, |
268 switches::kDisablePopupBlocking, | |
269 switches::kUseLowFragHeapCrt, | 268 switches::kUseLowFragHeapCrt, |
270 switches::kEnableWebWorkers, | 269 switches::kEnableWebWorkers, |
271 switches::kEnableStatsTable, | 270 switches::kEnableStatsTable, |
272 switches::kEnableExtensions, | 271 switches::kEnableExtensions, |
273 switches::kEnableOutOfProcessDevTools, | 272 switches::kEnableOutOfProcessDevTools, |
274 }; | 273 }; |
275 | 274 |
276 for (size_t i = 0; i < arraysize(switch_names); ++i) { | 275 for (size_t i = 0; i < arraysize(switch_names); ++i) { |
277 if (browser_command_line.HasSwitch(switch_names[i])) { | 276 if (browser_command_line.HasSwitch(switch_names[i])) { |
278 cmd_line.AppendSwitchWithValue(switch_names[i], | 277 cmd_line.AppendSwitchWithValue(switch_names[i], |
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
769 SendUserScriptsUpdate(shared_memory); | 768 SendUserScriptsUpdate(shared_memory); |
770 } | 769 } |
771 break; | 770 break; |
772 } | 771 } |
773 default: { | 772 default: { |
774 NOTREACHED(); | 773 NOTREACHED(); |
775 break; | 774 break; |
776 } | 775 } |
777 } | 776 } |
778 } | 777 } |
OLD | NEW |