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

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

Issue 345021: Continue to remove CHROME_FRAME_BUILD define from code that goes into chrome.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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) 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 // 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 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 switches::kEnableStatsTable, 518 switches::kEnableStatsTable,
519 switches::kExperimentalSpellcheckerFeatures, 519 switches::kExperimentalSpellcheckerFeatures,
520 switches::kDisableAudio, 520 switches::kDisableAudio,
521 switches::kSimpleDataSource, 521 switches::kSimpleDataSource,
522 switches::kEnableBenchmarking, 522 switches::kEnableBenchmarking,
523 switches::kInternalNaCl, 523 switches::kInternalNaCl,
524 switches::kEnableDatabases, 524 switches::kEnableDatabases,
525 switches::kDisableByteRangeSupport, 525 switches::kDisableByteRangeSupport,
526 switches::kEnableWebSockets, 526 switches::kEnableWebSockets,
527 switches::kEnableDesktopNotifications, 527 switches::kEnableDesktopNotifications,
528 // We propagate the Chrome Frame command line here as well in case the
529 // renderer is not run in the sandbox.
530 switches::kChromeFrame,
528 #if defined(OS_MACOSX) 531 #if defined(OS_MACOSX)
529 // Allow this to be set when invoking the browser and relayed along. 532 // Allow this to be set when invoking the browser and relayed along.
530 switches::kEnableSandboxLogging, 533 switches::kEnableSandboxLogging,
531 #endif 534 #endif
532 }; 535 };
533 536
534 for (size_t i = 0; i < arraysize(switch_names); ++i) { 537 for (size_t i = 0; i < arraysize(switch_names); ++i) {
535 if (browser_cmd.HasSwitch(switch_names[i])) { 538 if (browser_cmd.HasSwitch(switch_names[i])) {
536 renderer_cmd->AppendSwitchWithValue(switch_names[i], 539 renderer_cmd->AppendSwitchWithValue(switch_names[i],
537 browser_cmd.GetSwitchValue(switch_names[i])); 540 browser_cmd.GetSwitchValue(switch_names[i]));
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 profile()->GetExtensionMessageService()->RemoveEventListener( 1036 profile()->GetExtensionMessageService()->RemoveEventListener(
1034 event_name, id()); 1037 event_name, id());
1035 } 1038 }
1036 } 1039 }
1037 1040
1038 void BrowserRenderProcessHost::OnExtensionCloseChannel(int port_id) { 1041 void BrowserRenderProcessHost::OnExtensionCloseChannel(int port_id) {
1039 if (profile()->GetExtensionMessageService()) { 1042 if (profile()->GetExtensionMessageService()) {
1040 profile()->GetExtensionMessageService()->CloseChannel(port_id); 1043 profile()->GetExtensionMessageService()->CloseChannel(port_id);
1041 } 1044 }
1042 } 1045 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698