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

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

Issue 1953413002: Deprecate URL.createObjectURL/revokeObjectURL in Service Workers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: 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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 363
364 case UseCounter::ResultsAttribute: 364 case UseCounter::ResultsAttribute:
365 return willBeRemoved("'results' attribute", 53, "5738199536107520"); 365 return willBeRemoved("'results' attribute", 53, "5738199536107520");
366 366
367 case UseCounter::TouchDragUserGestureUsedCrossOrigin: 367 case UseCounter::TouchDragUserGestureUsedCrossOrigin:
368 return willBeRemoved("Performing sensitive operations in iframes on touc h events which don't represent a tap gesture", 52, "https://www.chromestatus.com /features/5649871251963904"); 368 return willBeRemoved("Performing sensitive operations in iframes on touc h events which don't represent a tap gesture", 52, "https://www.chromestatus.com /features/5649871251963904");
369 369
370 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: 370 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs:
371 return "contentType strings without codecs will not be supported by requ estMediaKeySystemAccess() in the future. Please specify the desired codec(s) as part of the contentType."; 371 return "contentType strings without codecs will not be supported by requ estMediaKeySystemAccess() in the future. Please specify the desired codec(s) as part of the contentType.";
372 372
373 case UseCounter::URLMethodCreateObjectURLServiceWorker:
374 return willBeRemoved("The 'URL.createObjectURL' method in Service Worker s", 52, "5685092332601344");
375
376 case UseCounter::URLMethodRevokeObjectURLServiceWorker:
377 return willBeRemoved("The 'URL.revokeObjectURL' method in Service Worker s", 52, "5685092332601344");
378
373 // Features that aren't deprecated don't have a deprecation message. 379 // Features that aren't deprecated don't have a deprecation message.
374 default: 380 default:
375 return String(); 381 return String();
376 } 382 }
377 } 383 }
378 384
379 } // namespace blink 385 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMURL.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