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

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, 6 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') | content/common/content_switches.cc » ('J')
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 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 switches::kEnableWebAudio, 560 switches::kEnableWebAudio,
561 switches::kFullMemoryCrashReport, 561 switches::kFullMemoryCrashReport,
562 #if !defined (GOOGLE_CHROME_BUILD) 562 #if !defined (GOOGLE_CHROME_BUILD)
563 // These are unsupported and not fully tested modes, so don't enable them 563 // These are unsupported and not fully tested modes, so don't enable them
564 // for official Google Chrome builds. 564 // for official Google Chrome builds.
565 switches::kInProcessPlugins, 565 switches::kInProcessPlugins,
566 #endif // GOOGLE_CHROME_BUILD 566 #endif // GOOGLE_CHROME_BUILD
567 switches::kInProcessWebGL, 567 switches::kInProcessWebGL,
568 switches::kJavaScriptFlags, 568 switches::kJavaScriptFlags,
569 switches::kLoggingLevel, 569 switches::kLoggingLevel,
570 switches::kLowLatencyAudio,
570 switches::kNoJsRandomness, 571 switches::kNoJsRandomness,
571 switches::kNoReferrers, 572 switches::kNoReferrers,
572 switches::kNoSandbox, 573 switches::kNoSandbox,
573 switches::kPlaybackMode, 574 switches::kPlaybackMode,
574 switches::kPpapiOutOfProcess, 575 switches::kPpapiOutOfProcess,
575 switches::kRecordMode, 576 switches::kRecordMode,
576 switches::kRegisterPepperPlugins, 577 switches::kRegisterPepperPlugins,
577 switches::kRendererAssertTest, 578 switches::kRendererAssertTest,
578 #if !defined(OFFICIAL_BUILD) 579 #if !defined(OFFICIAL_BUILD)
579 switches::kRendererCheckFalseTest, 580 switches::kRendererCheckFalseTest,
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 void BrowserRenderProcessHost::OnUserMetricsRecordAction( 918 void BrowserRenderProcessHost::OnUserMetricsRecordAction(
918 const std::string& action) { 919 const std::string& action) {
919 UserMetrics::RecordComputedAction(action); 920 UserMetrics::RecordComputedAction(action);
920 } 921 }
921 922
922 void BrowserRenderProcessHost::OnRevealFolderInOS(const FilePath& path) { 923 void BrowserRenderProcessHost::OnRevealFolderInOS(const FilePath& path) {
923 // Only honor the request if appropriate persmissions are granted. 924 // Only honor the request if appropriate persmissions are granted.
924 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(id(), path)) 925 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(id(), path))
925 content::GetContentClient()->browser()->RevealFolderInOS(path); 926 content::GetContentClient()->browser()->RevealFolderInOS(path);
926 } 927 }
OLDNEW
« no previous file with comments | « no previous file | content/common/content_switches.h » ('j') | content/common/content_switches.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698