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

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

Issue 2613133003: Disable MediaSession API for WebView (Closed)
Patch Set: follow presentation API & remote playback API 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
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 1822 matching lines...) Expand 10 before | Expand all | Expand 10 after
1833 switches::kDisableWebRtcHWDecoding, 1833 switches::kDisableWebRtcHWDecoding,
1834 switches::kDisableWebRtcHWVP8Encoding, 1834 switches::kDisableWebRtcHWVP8Encoding,
1835 switches::kEnableWebRtcStunOrigin, 1835 switches::kEnableWebRtcStunOrigin,
1836 switches::kEnforceWebRtcIPPermissionCheck, 1836 switches::kEnforceWebRtcIPPermissionCheck,
1837 switches::kForceWebRtcIPHandlingPolicy, 1837 switches::kForceWebRtcIPHandlingPolicy,
1838 switches::kWebRtcMaxCaptureFramerate, 1838 switches::kWebRtcMaxCaptureFramerate,
1839 #endif 1839 #endif
1840 switches::kEnableLowEndDeviceMode, 1840 switches::kEnableLowEndDeviceMode,
1841 switches::kDisableLowEndDeviceMode, 1841 switches::kDisableLowEndDeviceMode,
1842 #if defined(OS_ANDROID) 1842 #if defined(OS_ANDROID)
1843 switches::kDisableMediaSessionAPI,
1843 switches::kDisableUnifiedMediaPipeline, 1844 switches::kDisableUnifiedMediaPipeline,
1844 switches::kEnableContentIntentDetection, 1845 switches::kEnableContentIntentDetection,
1845 switches::kRendererWaitForJavaDebugger, 1846 switches::kRendererWaitForJavaDebugger,
1846 #endif 1847 #endif
1847 #if defined(OS_MACOSX) 1848 #if defined(OS_MACOSX)
1848 // Allow this to be set when invoking the browser and relayed along. 1849 // Allow this to be set when invoking the browser and relayed along.
1849 switches::kEnableSandboxLogging, 1850 switches::kEnableSandboxLogging,
1850 #endif 1851 #endif
1851 #if defined(OS_WIN) 1852 #if defined(OS_WIN)
1852 switches::kDisableWin32kLockDown, 1853 switches::kDisableWin32kLockDown,
(...skipping 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after
3035 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3036 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3036 3037
3037 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3038 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3038 // Capture the error message in a crash key value. 3039 // Capture the error message in a crash key value.
3039 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3040 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3040 bad_message::ReceivedBadMessage(render_process_id, 3041 bad_message::ReceivedBadMessage(render_process_id,
3041 bad_message::RPH_MOJO_PROCESS_ERROR); 3042 bad_message::RPH_MOJO_PROCESS_ERROR);
3042 } 3043 }
3043 3044
3044 } // namespace content 3045 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698