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

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

Issue 207025: NaCl-Chrome integration (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
OLDNEW
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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 switches::kEnableWatchdog, 335 switches::kEnableWatchdog,
336 switches::kMessageLoopHistogrammer, 336 switches::kMessageLoopHistogrammer,
337 switches::kEnableDCHECK, 337 switches::kEnableDCHECK,
338 switches::kSilentDumpOnDCHECK, 338 switches::kSilentDumpOnDCHECK,
339 switches::kUseLowFragHeapCrt, 339 switches::kUseLowFragHeapCrt,
340 switches::kEnableStatsTable, 340 switches::kEnableStatsTable,
341 switches::kAutoSpellCorrect, 341 switches::kAutoSpellCorrect,
342 switches::kDisableAudio, 342 switches::kDisableAudio,
343 switches::kSimpleDataSource, 343 switches::kSimpleDataSource,
344 switches::kEnableBenchmarking, 344 switches::kEnableBenchmarking,
345 switches::kInternalNaCl,
345 switches::kEnableDatabases, 346 switches::kEnableDatabases,
346 }; 347 };
347 348
348 for (size_t i = 0; i < arraysize(switch_names); ++i) { 349 for (size_t i = 0; i < arraysize(switch_names); ++i) {
349 if (browser_command_line.HasSwitch(switch_names[i])) { 350 if (browser_command_line.HasSwitch(switch_names[i])) {
350 cmd_line.AppendSwitchWithValue(switch_names[i], 351 cmd_line.AppendSwitchWithValue(switch_names[i],
351 browser_command_line.GetSwitchValue(switch_names[i])); 352 browser_command_line.GetSwitchValue(switch_names[i]));
352 } 353 }
353 } 354 }
354 355
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 profile()->GetExtensionMessageService()->RemoveEventListener( 964 profile()->GetExtensionMessageService()->RemoveEventListener(
964 event_name, id()); 965 event_name, id());
965 } 966 }
966 } 967 }
967 968
968 void BrowserRenderProcessHost::OnExtensionCloseChannel(int port_id) { 969 void BrowserRenderProcessHost::OnExtensionCloseChannel(int port_id) {
969 if (profile()->GetExtensionMessageService()) { 970 if (profile()->GetExtensionMessageService()) {
970 profile()->GetExtensionMessageService()->CloseChannel(port_id); 971 profile()->GetExtensionMessageService()->CloseChannel(port_id);
971 } 972 }
972 } 973 }
OLDNEW
« no previous file with comments | « chrome/browser/plugin_service.cc ('k') | chrome/browser/renderer_host/resource_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698