Revert of Wake Lock API implementation (Chromium part) (patchset #12 id:220001 of...
commitdd12ef766648eb12f9162fae15c39443352c14ed
authorrdevlin.cronin <rdevlin.cronin@chromium.org>
Mon, 14 Sep 2015 19:46:04 +0000 (14 12:46 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 14 Sep 2015 19:46:46 +0000 (14 19:46 +0000)
tree487da82cf406be7b908ffefb14c9c60eac707c98
parent535fe629e9cdf76571e16ada4f1401065bc6ed73
Revert of Wake Lock API implementation (Chromium part) (patchset #12 id:220001 of https://codereview.chromium.org/1107333002/ )

Reason for revert:
WakeLockTest has been failing on mac 10.9, e.g.

WakeLockTest.RendererInitiatedFrameNavigation (run #1):
[ RUN      ] WakeLockTest.RendererInitiatedFrameNavigation
[9365:1287:0914/122522:7769360692956:WARNING:vt_video_decode_accelerator.cc(167)] Failed to create VTDecompressionSession: codecOpenErr (-8973)
[9365:1287:0914/122522:7769360765333:WARNING:vt_video_decode_accelerator.cc(209)] Failed to create hardware VideoToolbox session. Hardware accelerated video decoding will be disabled.
../../content/browser/wake_lock/wake_lock_browsertest.cc:302: Failure
Value of: HasWakeLock()
  Actual: false
Expected: true

https://build.chromium.org/p/chromium.mac/builders/Mac10.9%20Tests%20%28dbg%29/builds/11721/steps/content_browsertests%20on%20Mac-10.9/logs/WakeLockTest.RendererInitiatedFrameNavigation

Original issue's description:
> Wake Lock API implementation (Chromium part)
>
> This is Chromium part of Wake Lock API implementation as per specification:
> http://www.w3.org/TR/wake-lock/
>
> The corresponding Blink part is submitted in issue 1084923002
>
> Design document: https://docs.google.com/document/d/1KbIENP0wgxtSXDQFn9PbHZ_tAKZfR1Y8u4Hst8LpeaA/edit?usp=sharing
>
> R=tsepez@chromium.org
> R=nasko@chromium.org
> R=mlamouri@chromium.org
> R=jochen@chromium.org
>
> Committed: https://crrev.com/334a5a782b578f773f6cd95ee00918300725a2a8
> Cr-Commit-Position: refs/heads/master@{#348602}

TBR=jochen@chromium.org,mlamouri@chromium.org,nasko@chromium.org,tsepez@chromium.org,alogvinov@yandex-team.ru
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review URL: https://codereview.chromium.org/1345563002

Cr-Commit-Position: refs/heads/master@{#348687}
21 files changed:
content/browser/frame_host/render_frame_host_delegate.cc
content/browser/frame_host/render_frame_host_delegate.h
content/browser/frame_host/render_frame_host_impl.cc
content/browser/wake_lock/wake_lock_browsertest.cc [deleted file]
content/browser/wake_lock/wake_lock_service_context.cc [deleted file]
content/browser/wake_lock/wake_lock_service_context.h [deleted file]
content/browser/wake_lock/wake_lock_service_context_unittest.cc [deleted file]
content/browser/wake_lock/wake_lock_service_impl.cc [deleted file]
content/browser/wake_lock/wake_lock_service_impl.h [deleted file]
content/browser/web_contents/web_contents_impl.cc
content/browser/web_contents/web_contents_impl.h
content/common/BUILD.gn
content/common/wake_lock_service.mojom [deleted file]
content/content_browser.gypi
content/content_common_mojo_bindings.gyp
content/content_renderer.gypi
content/content_tests.gypi
content/renderer/render_frame_impl.cc
content/renderer/render_frame_impl.h
content/renderer/wake_lock/wake_lock_dispatcher.cc [deleted file]
content/renderer/wake_lock/wake_lock_dispatcher.h [deleted file]