summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbenm@chromium.org <benm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-05 23:38:46 +0000
committerbenm@chromium.org <benm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-05 23:38:46 +0000
commit60e96b39d7e1f00a0db8dcbc21647df8000e852e (patch)
tree75d9369353be35fd6da91aaadaebc2a2869300d9
parentdf16da78233a9c25cf4ccee2974945dc61bca9bb (diff)
downloadchromium_src-60e96b39d7e1f00a0db8dcbc21647df8000e852e.zip
chromium_src-60e96b39d7e1f00a0db8dcbc21647df8000e852e.tar.gz
chromium_src-60e96b39d7e1f00a0db8dcbc21647df8000e852e.tar.bz2
[Android WebView] Disable WebRTC.
Android WebView compiles out WebRTC, so we should disable runtime interfaces too. Review URL: https://codereview.chromium.org/25453008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227215 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--android_webview/lib/main/aw_main_delegate.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index 7993e0c..7c9e684 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -75,6 +75,9 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
// Enable D-PAD navigation for application compatibility.
cl->AppendSwitch(switches::kEnableSpatialNavigation);
+ // Disable WebRTC.
+ cl->AppendSwitch(switches::kDisableWebRTC);
+
return false;
}