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/LocalFrame.h" | 10 #include "core/frame/LocalFrame.h" |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 case UseCounter::kCredentialManagerPasswordName: | 423 case UseCounter::kCredentialManagerPasswordName: |
424 case UseCounter::kCredentialManagerAdditionalData: | 424 case UseCounter::kCredentialManagerAdditionalData: |
425 case UseCounter::kCredentialManagerCustomFetch: | 425 case UseCounter::kCredentialManagerCustomFetch: |
426 return String::Format( | 426 return String::Format( |
427 "Passing 'PasswordCredential' objects into 'fetch(..., { " | 427 "Passing 'PasswordCredential' objects into 'fetch(..., { " |
428 "credentials: ... })' is deprecated, and will be removed in %s. See " | 428 "credentials: ... })' is deprecated, and will be removed in %s. See " |
429 "https://www.chromestatus.com/features/5689327799500800 for more " | 429 "https://www.chromestatus.com/features/5689327799500800 for more " |
430 "details and https://www.chromium.org/developers/" | 430 "details and https://www.chromium.org/developers/" |
431 "recent-changes-credential-management-api for migration suggestions.", | 431 "recent-changes-credential-management-api for migration suggestions.", |
432 milestoneString(M62)); | 432 milestoneString(M62)); |
433 | |
434 case UseCounter::kPaymentRequestNetworkNameInSupportedMethods: | 433 case UseCounter::kPaymentRequestNetworkNameInSupportedMethods: |
435 return replacedWillBeRemoved( | 434 return replacedWillBeRemoved( |
436 "Card issuer network (\"amex\", \"diners\", \"discover\", \"jcb\", " | 435 "Card issuer network (\"amex\", \"diners\", \"discover\", \"jcb\", " |
437 "\"mastercard\", \"mir\", \"unionpay\", \"visa\") as payment method", | 436 "\"mastercard\", \"mir\", \"unionpay\", \"visa\") as payment method", |
438 "payment method name \"basic-card\" with issuer network in the " | 437 "payment method name \"basic-card\" with issuer network in the " |
439 "\"supportedNetworks\" field", | 438 "\"supportedNetworks\" field", |
440 M64, "5725727580225536"); | 439 M64, "5725727580225536"); |
| 440 case UseCounter::kCredentialManagerRequireUserMediation: |
| 441 return replacedWillBeRemoved( |
| 442 "The CredentialsContainer.requireUserMediation method", |
| 443 "the CredentialsContainer.preventSilentAccess method", M62, |
| 444 "4781762488041472"); |
441 | 445 |
442 // Features that aren't deprecated don't have a deprecation message. | 446 // Features that aren't deprecated don't have a deprecation message. |
443 default: | 447 default: |
444 return String(); | 448 return String(); |
445 } | 449 } |
446 } | 450 } |
447 | 451 |
448 } // namespace blink | 452 } // namespace blink |
OLD | NEW |