Mojo: Refactor some message pipe stuff.

Move handling of dispatchers when enqueueing messages into the endpoint
code. That handling will need to be very specific to the type of
endpoint.

R=darin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247753 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247753
Mojo: Add a "GetType()" to Dispatchers.

In sending handles across processes, the ProxyMessagePipeEndpoint will
need to go from a generic Dispatcher to specific dispatcher types. (The
alternative is to have layers of complex abstraction....)

Also, at some point, I'll probably add the ability to query the type of
a handle (along with other information).

R=darin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247754 0039d316-1c4b-4281-b951-d872f2087c98
Add a copy of ui_unittests.ico with the proper mime-type set.

This is necessary in order to fix the presubmit error that happened in
https://codereview.chromium.org/147803002/#msg7

BUG=None
TEST=None
R=scottmg@chromium.org
TBR=ben@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247755 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247755
Replace string+int x2 with net::IPEndPoint in CastTransportConfig.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247757 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247757