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

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

Issue 2613133003: Disable MediaSession API for WebView (Closed)
Patch Set: rebased Created 3 years, 11 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
« no previous file with comments | « android_webview/lib/main/aw_main_delegate.cc ('k') | content/child/runtime_features.cc » ('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 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 1817 matching lines...) Expand 10 before | Expand all | Expand 10 after
1828 switches::kDisableWebRtcHWDecoding, 1828 switches::kDisableWebRtcHWDecoding,
1829 switches::kDisableWebRtcHWVP8Encoding, 1829 switches::kDisableWebRtcHWVP8Encoding,
1830 switches::kEnableWebRtcStunOrigin, 1830 switches::kEnableWebRtcStunOrigin,
1831 switches::kEnforceWebRtcIPPermissionCheck, 1831 switches::kEnforceWebRtcIPPermissionCheck,
1832 switches::kForceWebRtcIPHandlingPolicy, 1832 switches::kForceWebRtcIPHandlingPolicy,
1833 switches::kWebRtcMaxCaptureFramerate, 1833 switches::kWebRtcMaxCaptureFramerate,
1834 #endif 1834 #endif
1835 switches::kEnableLowEndDeviceMode, 1835 switches::kEnableLowEndDeviceMode,
1836 switches::kDisableLowEndDeviceMode, 1836 switches::kDisableLowEndDeviceMode,
1837 #if defined(OS_ANDROID) 1837 #if defined(OS_ANDROID)
1838 switches::kDisableMediaSessionAPI,
1838 switches::kDisableUnifiedMediaPipeline, 1839 switches::kDisableUnifiedMediaPipeline,
1839 switches::kEnableContentIntentDetection, 1840 switches::kEnableContentIntentDetection,
1840 switches::kRendererWaitForJavaDebugger, 1841 switches::kRendererWaitForJavaDebugger,
1841 #endif 1842 #endif
1842 #if defined(OS_MACOSX) 1843 #if defined(OS_MACOSX)
1843 // Allow this to be set when invoking the browser and relayed along. 1844 // Allow this to be set when invoking the browser and relayed along.
1844 switches::kEnableSandboxLogging, 1845 switches::kEnableSandboxLogging,
1845 #endif 1846 #endif
1846 #if defined(OS_WIN) 1847 #if defined(OS_WIN)
1847 switches::kDisableWin32kLockDown, 1848 switches::kDisableWin32kLockDown,
(...skipping 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after
3030 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3031 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3031 3032
3032 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3033 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3033 // Capture the error message in a crash key value. 3034 // Capture the error message in a crash key value.
3034 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3035 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3035 bad_message::ReceivedBadMessage(render_process_id, 3036 bad_message::ReceivedBadMessage(render_process_id,
3036 bad_message::RPH_MOJO_PROCESS_ERROR); 3037 bad_message::RPH_MOJO_PROCESS_ERROR);
3037 } 3038 }
3038 3039
3039 } // namespace content 3040 } // namespace content
OLDNEW
« no previous file with comments | « android_webview/lib/main/aw_main_delegate.cc ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698