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

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

Issue 267132: Http Cache: Enable byte-range support by default.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/net/chrome_url_request_context.cc ('k') | chrome/common/chrome_switches.h » ('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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 switches::kEnableDCHECK, 514 switches::kEnableDCHECK,
515 switches::kSilentDumpOnDCHECK, 515 switches::kSilentDumpOnDCHECK,
516 switches::kUseLowFragHeapCrt, 516 switches::kUseLowFragHeapCrt,
517 switches::kEnableStatsTable, 517 switches::kEnableStatsTable,
518 switches::kExperimentalSpellcheckerFeatures, 518 switches::kExperimentalSpellcheckerFeatures,
519 switches::kDisableAudio, 519 switches::kDisableAudio,
520 switches::kSimpleDataSource, 520 switches::kSimpleDataSource,
521 switches::kEnableBenchmarking, 521 switches::kEnableBenchmarking,
522 switches::kInternalNaCl, 522 switches::kInternalNaCl,
523 switches::kEnableDatabases, 523 switches::kEnableDatabases,
524 switches::kEnableByteRangeSupport, 524 switches::kDisableByteRangeSupport,
525 switches::kEnableWebSockets, 525 switches::kEnableWebSockets,
526 }; 526 };
527 527
528 for (size_t i = 0; i < arraysize(switch_names); ++i) { 528 for (size_t i = 0; i < arraysize(switch_names); ++i) {
529 if (browser_cmd.HasSwitch(switch_names[i])) { 529 if (browser_cmd.HasSwitch(switch_names[i])) {
530 renderer_cmd->AppendSwitchWithValue(switch_names[i], 530 renderer_cmd->AppendSwitchWithValue(switch_names[i],
531 browser_cmd.GetSwitchValue(switch_names[i])); 531 browser_cmd.GetSwitchValue(switch_names[i]));
532 } 532 }
533 } 533 }
534 } 534 }
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
1030 profile()->GetExtensionMessageService()->RemoveEventListener( 1030 profile()->GetExtensionMessageService()->RemoveEventListener(
1031 event_name, id()); 1031 event_name, id());
1032 } 1032 }
1033 } 1033 }
1034 1034
1035 void BrowserRenderProcessHost::OnExtensionCloseChannel(int port_id) { 1035 void BrowserRenderProcessHost::OnExtensionCloseChannel(int port_id) {
1036 if (profile()->GetExtensionMessageService()) { 1036 if (profile()->GetExtensionMessageService()) {
1037 profile()->GetExtensionMessageService()->CloseChannel(port_id); 1037 profile()->GetExtensionMessageService()->CloseChannel(port_id);
1038 } 1038 }
1039 } 1039 }
OLDNEW
« no previous file with comments | « chrome/browser/net/chrome_url_request_context.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698