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

Unified Diff: android_webview/common/aw_content_client.cc

Issue 2623353002: Share schemes needed for mixed content checking between the browser and renderer. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/common/aw_content_client.cc
diff --git a/android_webview/common/aw_content_client.cc b/android_webview/common/aw_content_client.cc
index 5f366e8909abea2b3ccd5825b9c678ea5727812b..08d791a1e50ed9f79001e14fe773e1e228d05682 100644
--- a/android_webview/common/aw_content_client.cc
+++ b/android_webview/common/aw_content_client.cc
@@ -7,6 +7,7 @@
#include "android_webview/common/aw_media_client_android.h"
#include "android_webview/common/aw_resource.h"
#include "android_webview/common/aw_version_info_values.h"
+#include "android_webview/common/url_constants.h"
#include "base/command_line.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/user_agent.h"
@@ -37,6 +38,11 @@ std::string GetExtraOSUserAgentInfo() {
return "; wv";
}
+void AwContentClient::AddAdditionalSchemes(Schemes* schemes) {
+ schemes->secure_schemes.push_back(
+ android_webview::kAndroidWebViewVideoPosterScheme);
+}
+
std::string AwContentClient::GetProduct() const {
return android_webview::GetProduct();
}

Powered by Google App Engine
This is Rietveld 408576698