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

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

Issue 1038453002: Add option to export tracing events to ETW. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing dependency in base.gyp Created 5 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after
1382 switches::kRendererWaitForJavaDebugger, 1382 switches::kRendererWaitForJavaDebugger,
1383 #endif 1383 #endif
1384 #if defined(OS_MACOSX) 1384 #if defined(OS_MACOSX)
1385 // Allow this to be set when invoking the browser and relayed along. 1385 // Allow this to be set when invoking the browser and relayed along.
1386 switches::kEnableSandboxLogging, 1386 switches::kEnableSandboxLogging,
1387 #endif 1387 #endif
1388 #if defined(OS_WIN) 1388 #if defined(OS_WIN)
1389 switches::kDisableDirectWrite, 1389 switches::kDisableDirectWrite,
1390 switches::kEnableWin32kRendererLockDown, 1390 switches::kEnableWin32kRendererLockDown,
1391 switches::kDisableWin32kRendererLockDown, 1391 switches::kDisableWin32kRendererLockDown,
1392 switches::kTraceExportEventsToETW,
1392 #endif 1393 #endif
1393 #if defined(OS_CHROMEOS) 1394 #if defined(OS_CHROMEOS)
1394 switches::kDisableVaapiAcceleratedVideoEncode, 1395 switches::kDisableVaapiAcceleratedVideoEncode,
1395 #endif 1396 #endif
1396 }; 1397 };
1397 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, 1398 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
1398 arraysize(kSwitchNames)); 1399 arraysize(kSwitchNames));
1399 1400
1400 if (browser_cmd.HasSwitch(switches::kTraceStartup) && 1401 if (browser_cmd.HasSwitch(switches::kTraceStartup) &&
1401 BrowserMainLoop::GetInstance()->is_tracing_startup()) { 1402 BrowserMainLoop::GetInstance()->is_tracing_startup()) {
(...skipping 1087 matching lines...) Expand 10 before | Expand all | Expand 10 after
2489 if (worker_ref_count_ == 0) 2490 if (worker_ref_count_ == 0)
2490 Cleanup(); 2491 Cleanup();
2491 } 2492 }
2492 2493
2493 void RenderProcessHostImpl::GetAudioOutputControllers( 2494 void RenderProcessHostImpl::GetAudioOutputControllers(
2494 const GetAudioOutputControllersCallback& callback) const { 2495 const GetAudioOutputControllersCallback& callback) const {
2495 audio_renderer_host()->GetOutputControllers(callback); 2496 audio_renderer_host()->GetOutputControllers(callback);
2496 } 2497 }
2497 2498
2498 } // namespace content 2499 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698