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

Side by Side Diff: chrome/browser/renderer_host/browser_render_process_host.cc

Issue 100132: Instead of passing down a switch to the renderer, storing a member, etc., jus... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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 | « no previous file | chrome/browser/tab_contents/tab_contents.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 // 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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698