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

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

Issue 7827016: Enable low-latency audio by default. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 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 | 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 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 switches::kEnableVideoLogging, 579 switches::kEnableVideoLogging,
580 switches::kFullMemoryCrashReport, 580 switches::kFullMemoryCrashReport,
581 #if !defined (GOOGLE_CHROME_BUILD) 581 #if !defined (GOOGLE_CHROME_BUILD)
582 // These are unsupported and not fully tested modes, so don't enable them 582 // These are unsupported and not fully tested modes, so don't enable them
583 // for official Google Chrome builds. 583 // for official Google Chrome builds.
584 switches::kInProcessPlugins, 584 switches::kInProcessPlugins,
585 #endif // GOOGLE_CHROME_BUILD 585 #endif // GOOGLE_CHROME_BUILD
586 switches::kInProcessWebGL, 586 switches::kInProcessWebGL,
587 switches::kJavaScriptFlags, 587 switches::kJavaScriptFlags,
588 switches::kLoggingLevel, 588 switches::kLoggingLevel,
589 switches::kLowLatencyAudio, 589 switches::kHighLatencyAudio,
590 switches::kNoJsRandomness, 590 switches::kNoJsRandomness,
591 switches::kNoReferrers, 591 switches::kNoReferrers,
592 switches::kNoSandbox, 592 switches::kNoSandbox,
593 switches::kPlaybackMode, 593 switches::kPlaybackMode,
594 switches::kPpapiOutOfProcess, 594 switches::kPpapiOutOfProcess,
595 switches::kRecordMode, 595 switches::kRecordMode,
596 switches::kRegisterPepperPlugins, 596 switches::kRegisterPepperPlugins,
597 switches::kRemoteShellPort, 597 switches::kRemoteShellPort,
598 switches::kRendererAssertTest, 598 switches::kRendererAssertTest,
599 #if !defined(OFFICIAL_BUILD) 599 #if !defined(OFFICIAL_BUILD)
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 void BrowserRenderProcessHost::OnRevealFolderInOS(const FilePath& path) { 992 void BrowserRenderProcessHost::OnRevealFolderInOS(const FilePath& path) {
993 // Only honor the request if appropriate persmissions are granted. 993 // Only honor the request if appropriate persmissions are granted.
994 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(id(), path)) 994 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(id(), path))
995 content::GetContentClient()->browser()->OpenItem(path); 995 content::GetContentClient()->browser()->OpenItem(path);
996 } 996 }
997 997
998 void BrowserRenderProcessHost::OnSavedPageAsMHTML(int job_id, int64 data_size) { 998 void BrowserRenderProcessHost::OnSavedPageAsMHTML(int job_id, int64 data_size) {
999 content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> 999 content::GetContentClient()->browser()->GetMHTMLGenerationManager()->
1000 MHTMLGenerated(job_id, data_size); 1000 MHTMLGenerated(job_id, data_size);
1001 } 1001 }
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