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

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

Issue 253001: <video> use cache if --enable-byte-range-support is present (Closed)
Patch Set: updated 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/renderer/render_process.cc » ('j') | webkit/glue/webkit_glue.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 switches::kEnableDCHECK, 324 switches::kEnableDCHECK,
325 switches::kSilentDumpOnDCHECK, 325 switches::kSilentDumpOnDCHECK,
326 switches::kUseLowFragHeapCrt, 326 switches::kUseLowFragHeapCrt,
327 switches::kEnableStatsTable, 327 switches::kEnableStatsTable,
328 switches::kAutoSpellCorrect, 328 switches::kAutoSpellCorrect,
329 switches::kDisableAudio, 329 switches::kDisableAudio,
330 switches::kSimpleDataSource, 330 switches::kSimpleDataSource,
331 switches::kEnableBenchmarking, 331 switches::kEnableBenchmarking,
332 switches::kInternalNaCl, 332 switches::kInternalNaCl,
333 switches::kEnableDatabases, 333 switches::kEnableDatabases,
334 switches::kEnableByteRangeSupport,
334 }; 335 };
335 336
336 for (size_t i = 0; i < arraysize(switch_names); ++i) { 337 for (size_t i = 0; i < arraysize(switch_names); ++i) {
337 if (browser_command_line.HasSwitch(switch_names[i])) { 338 if (browser_command_line.HasSwitch(switch_names[i])) {
338 cmd_line.AppendSwitchWithValue(switch_names[i], 339 cmd_line.AppendSwitchWithValue(switch_names[i],
339 browser_command_line.GetSwitchValue(switch_names[i])); 340 browser_command_line.GetSwitchValue(switch_names[i]));
340 } 341 }
341 } 342 }
342 343
343 // Pass on the browser locale. 344 // Pass on the browser locale.
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 profile()->GetExtensionMessageService()->RemoveEventListener( 980 profile()->GetExtensionMessageService()->RemoveEventListener(
980 event_name, id()); 981 event_name, id());
981 } 982 }
982 } 983 }
983 984
984 void BrowserRenderProcessHost::OnExtensionCloseChannel(int port_id) { 985 void BrowserRenderProcessHost::OnExtensionCloseChannel(int port_id) {
985 if (profile()->GetExtensionMessageService()) { 986 if (profile()->GetExtensionMessageService()) {
986 profile()->GetExtensionMessageService()->CloseChannel(port_id); 987 profile()->GetExtensionMessageService()->CloseChannel(port_id);
987 } 988 }
988 } 989 }
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/render_process.cc » ('j') | webkit/glue/webkit_glue.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698