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

Side by Side Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 1938183002: Deprecate URL.createObjectURL/revokeObjectURL in Service Workers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: derp Created 4 years, 7 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 unified diff | Download patch
OLDNEW
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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 381
382 case UseCounter::During_Microtask_Print: 382 case UseCounter::During_Microtask_Print:
383 return willBeRemoved("Invoking 'print()' during microtask execution", 53 , "5647113010544640"); 383 return willBeRemoved("Invoking 'print()' during microtask execution", 53 , "5647113010544640");
384 384
385 case UseCounter::During_Microtask_Prompt: 385 case UseCounter::During_Microtask_Prompt:
386 return willBeRemoved("Invoking 'prompt()' during microtask execution", 5 3, "5647113010544640"); 386 return willBeRemoved("Invoking 'prompt()' during microtask execution", 5 3, "5647113010544640");
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:
392 return willBeRemoved("The 'URL.createObjectURL' method in Service Worker s", 52, "5685092332601344");
393
394 case UseCounter::URLMethodRevokeObjectURLServiceWorker:
395 return willBeRemoved("The 'URL.revokeObjectURL' method in Service Worker s", 52, "5685092332601344");
396
391 // Features that aren't deprecated don't have a deprecation message. 397 // Features that aren't deprecated don't have a deprecation message.
392 default: 398 default:
393 return String(); 399 return String();
394 } 400 }
395 } 401 }
396 402
397 } // namespace blink 403 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/fileapi/URLFileAPI.cpp ('k') | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698