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

Unified Diff: android_webview/lib/main/aw_main_delegate.cc

Issue 2528433004: [RemotePlayback] Don't expose Remote Playback API for WebView. (Closed)
Patch Set: Rebased on the right patchset Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | android_webview/tools/system_webview_shell/test/data/webexposed/global-interface-listing-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/lib/main/aw_main_delegate.cc
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index 549be4e74a88f927deacffc9fb1e48dd85180c12..3c91dc748dbc69bab0fe1a56e7ea1f998f0b004f 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -108,6 +108,10 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
// https://crbug.com/521319
cl->AppendSwitch(switches::kDisablePresentationAPI);
+ // WebView doesn't support Remote Playback API for the same reason as the
+ // Presentation API, see https://crbug.com/521319.
+ cl->AppendSwitch(switches::kDisableRemotePlaybackAPI);
+
#if defined(V8_USE_EXTERNAL_STARTUP_DATA)
if (cl->GetSwitchValueASCII(switches::kProcessType).empty()) {
// Browser process (no type specified).
« no previous file with comments | « no previous file | android_webview/tools/system_webview_shell/test/data/webexposed/global-interface-listing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698