| OLD | NEW |
| 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 "modules/remoteplayback/RemotePlayback.h" | 5 #include "modules/remoteplayback/RemotePlayback.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/ExceptionStatePlaceholder.h" | 7 #include "bindings/core/v8/ExceptionState.h" |
| 8 #include "bindings/core/v8/V8BindingForTesting.h" | 8 #include "bindings/core/v8/V8BindingForTesting.h" |
| 9 #include "bindings/modules/v8/RemotePlaybackAvailabilityCallback.h" | 9 #include "bindings/modules/v8/RemotePlaybackAvailabilityCallback.h" |
| 10 #include "core/dom/DocumentUserGestureToken.h" | 10 #include "core/dom/DocumentUserGestureToken.h" |
| 11 #include "core/html/HTMLMediaElement.h" | 11 #include "core/html/HTMLMediaElement.h" |
| 12 #include "core/html/HTMLVideoElement.h" | 12 #include "core/html/HTMLVideoElement.h" |
| 13 #include "core/testing/DummyPageHolder.h" | 13 #include "core/testing/DummyPageHolder.h" |
| 14 #include "modules/remoteplayback/HTMLMediaElementRemotePlayback.h" | 14 #include "modules/remoteplayback/HTMLMediaElementRemotePlayback.h" |
| 15 #include "platform/UserGestureIndicator.h" | 15 #include "platform/UserGestureIndicator.h" |
| 16 #include "platform/testing/UnitTestHelpers.h" | 16 #include "platform/testing/UnitTestHelpers.h" |
| 17 #include "public/platform/modules/remoteplayback/WebRemotePlaybackState.h" | 17 #include "public/platform/modules/remoteplayback/WebRemotePlaybackState.h" |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 v8::MicrotasksScope::PerformCheckpoint(scope.isolate()); | 259 v8::MicrotasksScope::PerformCheckpoint(scope.isolate()); |
| 260 | 260 |
| 261 // Verify mock expectations explicitly as the mock objects are garbage | 261 // Verify mock expectations explicitly as the mock objects are garbage |
| 262 // collected. | 262 // collected. |
| 263 ::testing::Mock::VerifyAndClear(resolve); | 263 ::testing::Mock::VerifyAndClear(resolve); |
| 264 ::testing::Mock::VerifyAndClear(reject); | 264 ::testing::Mock::VerifyAndClear(reject); |
| 265 ::testing::Mock::VerifyAndClear(callbackFunction); | 265 ::testing::Mock::VerifyAndClear(callbackFunction); |
| 266 } | 266 } |
| 267 | 267 |
| 268 } // namespace blink | 268 } // namespace blink |
| OLD | NEW |