Introduces the notifier id for multi-profile notifications.

Also this CL fixes notification delegate to invoke 'OnDismissed'
when the notification is really dismissed.

BUG=327033
R=xiyuan@chromium.org, stevenjb@chromium.org
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239727 0039d316-1c4b-4281-b951-d872f2087c98
Fix Ash.GestureCreated UMA histogram.

Previously there was an off-by-one error in the Ash.GestureCreated
histogram, which made it appear completely incorrectly. This fixes
that error, and adds the show press and tap cancel gestures.

BUG=326531

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239728 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 239728
Change the CloseSocket method to just operate on the socket_ member
rather than taking a SocketDescriptor input.

R=yzshen@chromium.org
BUG=none
TEST=none

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

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