This is in anticipation of deprecating the API in insecure contexts.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d35f8c61ab3d89a4fe0f6de3e641d1748dc5ef09 commit d35f8c61ab3d89a4fe0f6de3e641d1748dc5ef09 Author: mfoltz <mfoltz@chromium.org> Date: Thu Feb 16 16:56:46 2017 [Presentation API] Adds UseCounters. This adds UseCounters for secure and insecure contexts when using the Presentation API. This is in preparation for deprecating the API on insecure contexts. BUG= 692185 Review-Url: https://codereview.chromium.org/2692333004 Cr-Commit-Position: refs/heads/master@{#450994} [modify] https://crrev.com/d35f8c61ab3d89a4fe0f6de3e641d1748dc5ef09/third_party/WebKit/Source/core/frame/UseCounter.h [modify] https://crrev.com/d35f8c61ab3d89a4fe0f6de3e641d1748dc5ef09/third_party/WebKit/Source/modules/presentation/Presentation.cpp [modify] https://crrev.com/d35f8c61ab3d89a4fe0f6de3e641d1748dc5ef09/third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp [modify] https://crrev.com/d35f8c61ab3d89a4fe0f6de3e641d1748dc5ef09/third_party/WebKit/Source/modules/presentation/PresentationReceiver.h [modify] https://crrev.com/d35f8c61ab3d89a4fe0f6de3e641d1748dc5ef09/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp [modify] https://crrev.com/d35f8c61ab3d89a4fe0f6de3e641d1748dc5ef09/third_party/WebKit/Source/modules/presentation/PresentationRequest.h [modify] https://crrev.com/d35f8c61ab3d89a4fe0f6de3e641d1748dc5ef09/tools/metrics/histograms/histograms.xml
Comment 1 by mfo...@chromium.org
, Feb 14 2017