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

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

Issue 255075: Implement --enable-web-sockets flag. (Closed)
Patch Set: Remove WebKIT API change Created 11 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/tab_contents/render_view_host_delegate_helper.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) 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 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 switches::kSilentDumpOnDCHECK, 512 switches::kSilentDumpOnDCHECK,
513 switches::kUseLowFragHeapCrt, 513 switches::kUseLowFragHeapCrt,
514 switches::kEnableStatsTable, 514 switches::kEnableStatsTable,
515 switches::kExperimentalSpellcheckerFeatures, 515 switches::kExperimentalSpellcheckerFeatures,
516 switches::kDisableAudio, 516 switches::kDisableAudio,
517 switches::kSimpleDataSource, 517 switches::kSimpleDataSource,
518 switches::kEnableBenchmarking, 518 switches::kEnableBenchmarking,
519 switches::kInternalNaCl, 519 switches::kInternalNaCl,
520 switches::kEnableDatabases, 520 switches::kEnableDatabases,
521 switches::kEnableByteRangeSupport, 521 switches::kEnableByteRangeSupport,
522 switches::kEnableWebSockets,
522 }; 523 };
523 524
524 for (size_t i = 0; i < arraysize(switch_names); ++i) { 525 for (size_t i = 0; i < arraysize(switch_names); ++i) {
525 if (browser_cmd.HasSwitch(switch_names[i])) { 526 if (browser_cmd.HasSwitch(switch_names[i])) {
526 renderer_cmd->AppendSwitchWithValue(switch_names[i], 527 renderer_cmd->AppendSwitchWithValue(switch_names[i],
527 browser_cmd.GetSwitchValue(switch_names[i])); 528 browser_cmd.GetSwitchValue(switch_names[i]));
528 } 529 }
529 } 530 }
530 } 531 }
531 532
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 profile()->GetExtensionMessageService()->RemoveEventListener( 1008 profile()->GetExtensionMessageService()->RemoveEventListener(
1008 event_name, id()); 1009 event_name, id());
1009 } 1010 }
1010 } 1011 }
1011 1012
1012 void BrowserRenderProcessHost::OnExtensionCloseChannel(int port_id) { 1013 void BrowserRenderProcessHost::OnExtensionCloseChannel(int port_id) {
1013 if (profile()->GetExtensionMessageService()) { 1014 if (profile()->GetExtensionMessageService()) {
1014 profile()->GetExtensionMessageService()->CloseChannel(port_id); 1015 profile()->GetExtensionMessageService()->CloseChannel(port_id);
1015 } 1016 }
1016 } 1017 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/tab_contents/render_view_host_delegate_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698