[Chromoting] PromisedRaisable in Android client
Some events, such as RenderStub.onClientSizeChanged(), triggers only once during its lifetime. Though we can ensure to add a ParameterRunnable before the event is triggered, it seems a little bit inconvenient. So this change adds a PromisedRaisable Event derived class to ensure newly added ParameterRunnable can at least be executed once. BUG=615277 Review-Url: https://codereview.chromium.org/2385593002 Cr-Commit-Position: refs/heads/master@{#423800}
Showing
Please register or sign in to comment