remove unneeded deprecations couts
This commit is contained in:
parent
4e01ab59c1
commit
bacf6511a6
1 changed files with 0 additions and 2 deletions
|
@ -139,7 +139,6 @@ void WebFrame::RegisterURLSchemeAsSecure(const std::string& scheme) {
|
||||||
// Register scheme to secure list (https, wss, data).
|
// Register scheme to secure list (https, wss, data).
|
||||||
blink::WebSecurityPolicy::registerURLSchemeAsSecure(
|
blink::WebSecurityPolicy::registerURLSchemeAsSecure(
|
||||||
blink::WebString::fromUTF8(scheme));
|
blink::WebString::fromUTF8(scheme));
|
||||||
std::cout << "webFrame.registerURLSchemeAsSecure is deprecated. Use protocol.registerStandardSchemes with {secure:true}" << std::endl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void WebFrame::RegisterURLSchemeAsBypassingCSP(const std::string& scheme) {
|
void WebFrame::RegisterURLSchemeAsBypassingCSP(const std::string& scheme) {
|
||||||
|
@ -170,7 +169,6 @@ void WebFrame::RegisterURLSchemeAsPrivileged(const std::string& scheme,
|
||||||
blink::WebString privileged_scheme(blink::WebString::fromUTF8(scheme));
|
blink::WebString privileged_scheme(blink::WebString::fromUTF8(scheme));
|
||||||
if (secure) {
|
if (secure) {
|
||||||
// TODO(pfrazee): Remove 2.0
|
// TODO(pfrazee): Remove 2.0
|
||||||
std::cout << "webFrame.registerURLSchemeAsPrivileged with {secure:true} is deprecated. Use protocol.registerStandardSchemes with {secure:true}" << std::endl;
|
|
||||||
blink::WebSecurityPolicy::registerURLSchemeAsSecure(privileged_scheme);
|
blink::WebSecurityPolicy::registerURLSchemeAsSecure(privileged_scheme);
|
||||||
}
|
}
|
||||||
if (bypassCSP) {
|
if (bypassCSP) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue