Mojo C++ Bindings: Remove superfluous Bind overloads
Gets rid of overloads of Binding::Bind and AssociatedBinding::Bind.
The only remaining signatures are the ones which take a request type.
Also adds an explicit InterfaceRequest constructor over a message pipe
handle, with the intent to eventually delete InterfaceRequest::Bind.
BUG=721507
R=yzshen@chromium.org
TBR=jam@chromium.org
Change-Id: I231492f62d7568268ab227105d7c36aa230ad799
Reviewed-on: https://chromium-review.googlesource.com/503480
Reviewed-by: Ken Rockot <rockot@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Yuzhu Shen <yzshen@chromium.org>
Commit-Queue: Ken Rockot <rockot@chromium.org>
Cr-Commit-Position: refs/heads/master@{#471316}
CrOS-Libchrome-Original-Commit: 4247245664c68161c0425ee3dfe3b4b10282fc44
7 files changed