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

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

Issue 2456613002: Remove BluetoothDevice.uuids attribute from WebBluetooth (Closed)
Patch Set: address more comments Created 4 years, 1 month 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 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 case UseCounter::PaymentAddressCareOf: 454 case UseCounter::PaymentAddressCareOf:
455 return willBeRemoved("PaymentAddress.careOf", M56, "5728579069411328"); 455 return willBeRemoved("PaymentAddress.careOf", M56, "5728579069411328");
456 456
457 case UseCounter::VRDeprecatedFieldOfView: 457 case UseCounter::VRDeprecatedFieldOfView:
458 return replacedBy("VREyeParameters.fieldOfView", 458 return replacedBy("VREyeParameters.fieldOfView",
459 "projection matrices provided by VRFrameData"); 459 "projection matrices provided by VRFrameData");
460 460
461 case UseCounter::VRDeprecatedGetPose: 461 case UseCounter::VRDeprecatedGetPose:
462 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); 462 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()");
463 463
464 case UseCounter::DeprecatedBluetoothDeviceUUIDsAttribute:
465 return String::format(
466 "BluetoothDevice.uuids is deprecated and will be removed in %s. Use "
467 "getPrimaryServices() to retrieve all available UUIDs.",
468 milestoneString(M57));
469
470 // Features that aren't deprecated don't have a deprecation message. 464 // Features that aren't deprecated don't have a deprecation message.
471 default: 465 default:
472 return String(); 466 return String();
473 } 467 }
474 } 468 }
475 469
476 } // namespace blink 470 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698