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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 | 387 |
388 case UseCounter::During_Microtask_SyncXHR: | 388 case UseCounter::During_Microtask_SyncXHR: |
389 return willBeRemoved("Invoking 'send()' on a sync XHR during microtask e
xecution", 53, "5647113010544640"); | 389 return willBeRemoved("Invoking 'send()' on a sync XHR during microtask e
xecution", 53, "5647113010544640"); |
390 | 390 |
391 case UseCounter::URLMethodCreateObjectURLServiceWorker: | 391 case UseCounter::URLMethodCreateObjectURLServiceWorker: |
392 return willBeRemoved("The 'URL.createObjectURL' method in Service Worker
s", 52, "5685092332601344"); | 392 return willBeRemoved("The 'URL.createObjectURL' method in Service Worker
s", 52, "5685092332601344"); |
393 | 393 |
394 case UseCounter::URLMethodRevokeObjectURLServiceWorker: | 394 case UseCounter::URLMethodRevokeObjectURLServiceWorker: |
395 return willBeRemoved("The 'URL.revokeObjectURL' method in Service Worker
s", 52, "5685092332601344"); | 395 return willBeRemoved("The 'URL.revokeObjectURL' method in Service Worker
s", 52, "5685092332601344"); |
396 | 396 |
| 397 case UseCounter::MediaStreamOnEnded: |
| 398 return replacedWillBeRemoved("The MediaStream 'ended' event", "the Media
Stream 'inactive' event", 53, "5730404371791872"); |
| 399 |
397 // Features that aren't deprecated don't have a deprecation message. | 400 // Features that aren't deprecated don't have a deprecation message. |
398 default: | 401 default: |
399 return String(); | 402 return String(); |
400 } | 403 } |
401 } | 404 } |
402 | 405 |
403 } // namespace blink | 406 } // namespace blink |
OLD | NEW |