| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "core/frame/Deprecation.h" | 5 #include "core/frame/Deprecation.h" |
| 6 | 6 |
| 7 #include "core/dom/Document.h" | 7 #include "core/dom/Document.h" |
| 8 #include "core/dom/ExecutionContext.h" | 8 #include "core/dom/ExecutionContext.h" |
| 9 #include "core/frame/FrameConsole.h" | 9 #include "core/frame/FrameConsole.h" |
| 10 #include "core/frame/FrameHost.h" | 10 #include "core/frame/FrameHost.h" |
| (...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 "https://www.chromestatus.com/features/6680566019653632 for more " | 423 "https://www.chromestatus.com/features/6680566019653632 for more " |
| 424 "details."; | 424 "details."; |
| 425 | 425 |
| 426 case UseCounter::SubtleCryptoOnlyStrictSecureContextCheckFailed: | 426 case UseCounter::SubtleCryptoOnlyStrictSecureContextCheckFailed: |
| 427 return String::format( | 427 return String::format( |
| 428 "Web Crypto API usage inside secure frames with non-secure ancestors " | 428 "Web Crypto API usage inside secure frames with non-secure ancestors " |
| 429 "is deprecated. The API will no longer be exposed in these contexts " | 429 "is deprecated. The API will no longer be exposed in these contexts " |
| 430 "as of %s. See https://www.chromestatus.com/features/5030265697075200" | 430 "as of %s. See https://www.chromestatus.com/features/5030265697075200" |
| 431 " for more details.", milestoneString(M59)); | 431 " for more details.", milestoneString(M59)); |
| 432 | 432 |
| 433 case UseCounter::RtcpMuxPolicyNegotiate: |
| 434 return String::format( |
| 435 "The rtcpMuxPolicy option is being considered for " |
| 436 "removal and may be removed no earlier than %s. If you depend on it, " |
| 437 "please see https://www.chromestatus.com/features/5654810086866944 " |
| 438 "for more details.", |
| 439 milestoneString(M60)); |
| 440 |
| 433 // Features that aren't deprecated don't have a deprecation message. | 441 // Features that aren't deprecated don't have a deprecation message. |
| 434 default: | 442 default: |
| 435 return String(); | 443 return String(); |
| 436 } | 444 } |
| 437 } | 445 } |
| 438 | 446 |
| 439 } // namespace blink | 447 } // namespace blink |
| OLD | NEW |