Searched refs:ScopedPromise (Results 1 – 1 of 1) sorted by relevance
892 class ScopedPromise { in setupSubWindow() class894 ~ScopedPromise() { mPromise.set_value(); } in setupSubWindow()896 DISALLOW_COPY_ASSIGN_AND_MOVE(ScopedPromise); in setupSubWindow()897 static std::tuple<std::unique_ptr<ScopedPromise>, std::future<void>> create() { in setupSubWindow()898 auto scopedPromise = std::unique_ptr<ScopedPromise>(new ScopedPromise()); in setupSubWindow()904 ScopedPromise() = default; in setupSubWindow()907 std::unique_ptr<ScopedPromise> postWorkerContinueSignal; in setupSubWindow()909 std::tie(postWorkerContinueSignal, postWorkerContinueSignalFuture) = ScopedPromise::create(); in setupSubWindow()