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

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

Issue 7253003: Change audio renderer to communicate with host using low latency codepath. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 5 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 | « no previous file | content/common/content_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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/browser_render_process_host.h" 8 #include "content/browser/renderer_host/browser_render_process_host.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 switches::kEnableVideoLogging, 559 switches::kEnableVideoLogging,
560 switches::kFullMemoryCrashReport, 560 switches::kFullMemoryCrashReport,
561 #if !defined (GOOGLE_CHROME_BUILD) 561 #if !defined (GOOGLE_CHROME_BUILD)
562 // These are unsupported and not fully tested modes, so don't enable them 562 // These are unsupported and not fully tested modes, so don't enable them
563 // for official Google Chrome builds. 563 // for official Google Chrome builds.
564 switches::kInProcessPlugins, 564 switches::kInProcessPlugins,
565 #endif // GOOGLE_CHROME_BUILD 565 #endif // GOOGLE_CHROME_BUILD
566 switches::kInProcessWebGL, 566 switches::kInProcessWebGL,
567 switches::kJavaScriptFlags, 567 switches::kJavaScriptFlags,
568 switches::kLoggingLevel, 568 switches::kLoggingLevel,
569 switches::kLowLatencyAudio,
569 switches::kNoJsRandomness, 570 switches::kNoJsRandomness,
570 switches::kNoReferrers, 571 switches::kNoReferrers,
571 switches::kNoSandbox, 572 switches::kNoSandbox,
572 switches::kPlaybackMode, 573 switches::kPlaybackMode,
573 switches::kPpapiOutOfProcess, 574 switches::kPpapiOutOfProcess,
574 switches::kRecordMode, 575 switches::kRecordMode,
575 switches::kRegisterPepperPlugins, 576 switches::kRegisterPepperPlugins,
576 switches::kRendererAssertTest, 577 switches::kRendererAssertTest,
577 #if !defined(OFFICIAL_BUILD) 578 #if !defined(OFFICIAL_BUILD)
578 switches::kRendererCheckFalseTest, 579 switches::kRendererCheckFalseTest,
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 void BrowserRenderProcessHost::OnUserMetricsRecordAction( 908 void BrowserRenderProcessHost::OnUserMetricsRecordAction(
908 const std::string& action) { 909 const std::string& action) {
909 UserMetrics::RecordComputedAction(action); 910 UserMetrics::RecordComputedAction(action);
910 } 911 }
911 912
912 void BrowserRenderProcessHost::OnRevealFolderInOS(const FilePath& path) { 913 void BrowserRenderProcessHost::OnRevealFolderInOS(const FilePath& path) {
913 // Only honor the request if appropriate persmissions are granted. 914 // Only honor the request if appropriate persmissions are granted.
914 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(id(), path)) 915 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(id(), path))
915 content::GetContentClient()->browser()->RevealFolderInOS(path); 916 content::GetContentClient()->browser()->RevealFolderInOS(path);
916 } 917 }
OLDNEW
« no previous file with comments | « no previous file | content/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698