| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-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 // 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 switches::kDisableAudio, | 273 switches::kDisableAudio, |
| 275 }; | 274 }; |
| 276 | 275 |
| 277 for (size_t i = 0; i < arraysize(switch_names); ++i) { | 276 for (size_t i = 0; i < arraysize(switch_names); ++i) { |
| 278 if (browser_command_line.HasSwitch(switch_names[i])) { | 277 if (browser_command_line.HasSwitch(switch_names[i])) { |
| (...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 791 SendUserScriptsUpdate(shared_memory); | 790 SendUserScriptsUpdate(shared_memory); |
| 792 } | 791 } |
| 793 break; | 792 break; |
| 794 } | 793 } |
| 795 default: { | 794 default: { |
| 796 NOTREACHED(); | 795 NOTREACHED(); |
| 797 break; | 796 break; |
| 798 } | 797 } |
| 799 } | 798 } |
| 800 } | 799 } |
| OLD | NEW |