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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more cleanup Created 5 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 1413 matching lines...) Expand 10 before | Expand all | Expand 10 after
1424 switches::kDisableDirectWrite, 1424 switches::kDisableDirectWrite,
1425 switches::kDisableWin32kRendererLockDown, 1425 switches::kDisableWin32kRendererLockDown,
1426 switches::kTraceExportEventsToETW, 1426 switches::kTraceExportEventsToETW,
1427 #endif 1427 #endif
1428 #if defined(USE_OZONE) 1428 #if defined(USE_OZONE)
1429 switches::kOzonePlatform, 1429 switches::kOzonePlatform,
1430 #endif 1430 #endif
1431 #if defined(OS_CHROMEOS) 1431 #if defined(OS_CHROMEOS)
1432 switches::kDisableVaapiAcceleratedVideoEncode, 1432 switches::kDisableVaapiAcceleratedVideoEncode,
1433 #endif 1433 #endif
1434 "use-new-edk", // TODO(use_chrome_edk): temporary.
1434 }; 1435 };
1435 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, 1436 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
1436 arraysize(kSwitchNames)); 1437 arraysize(kSwitchNames));
1437 1438
1438 if (browser_cmd.HasSwitch(switches::kTraceStartup) && 1439 if (browser_cmd.HasSwitch(switches::kTraceStartup) &&
1439 BrowserMainLoop::GetInstance()->is_tracing_startup_for_duration()) { 1440 BrowserMainLoop::GetInstance()->is_tracing_startup_for_duration()) {
1440 // Pass kTraceStartup switch to renderer only if startup tracing has not 1441 // Pass kTraceStartup switch to renderer only if startup tracing has not
1441 // finished. 1442 // finished.
1442 renderer_cmd->AppendSwitchASCII( 1443 renderer_cmd->AppendSwitchASCII(
1443 switches::kTraceStartup, 1444 switches::kTraceStartup,
(...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after
2562 void RenderProcessHostImpl::GetAudioOutputControllers( 2563 void RenderProcessHostImpl::GetAudioOutputControllers(
2563 const GetAudioOutputControllersCallback& callback) const { 2564 const GetAudioOutputControllersCallback& callback) const {
2564 audio_renderer_host()->GetOutputControllers(callback); 2565 audio_renderer_host()->GetOutputControllers(callback);
2565 } 2566 }
2566 2567
2567 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { 2568 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() {
2568 return bluetooth_dispatcher_host_.get(); 2569 return bluetooth_dispatcher_host_.get();
2569 } 2570 }
2570 2571
2571 } // namespace content 2572 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698