Make HttpNetworkTransaction no longer own a reference to HttpNetworkSession.
It is a bug if anything is holding on to a transaction after the levels of
the network stack above the Session are destroyed, so there's no reason to hold
on to the reference.

There have historically been a number of such bugs, and they currently produce
useless crash stack traces, which show crashes as callbacks try to call into
deleted higher level objects.  This should hopefully make them crash more
consistently, with more useful stack traces when owners of these requests
delete them in the absence of the network stack, assuming nothing else is holding
on to the HttpNetworkSession.

BUG=295344,294910

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229081 0039d316-1c4b-4281-b951-d872f2087c98
Redesign of the avatar menu button.

Screenshots: https://drive.google.com/folderview?id=0B1B1Up4p2NRMYm8zRzFhQkpCTUE&usp=sharing
This is behind the --new-profile-management flag, and shows the avatar
switcher as a menu button in the caption area. The button shows the user's
name, rather than an image.

There will be an upcoming CL to ensure that the correct button is displayed for Metro (Win8) browsers (this CL would display the Aero button for Win8 as well).

BUG=287883

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=228293

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229082 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 229082
Trace events for P2P Socket

Trace time spent on IPCs and system socket for sending a packet through
P2P Socket.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229083 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 229083
Added a policy_switches.cc file in the policy component.

Moved the policy-specific switches into this file, and refactored the policy
code to include the new file instead of chrome_switches.cc. This removes
one more dependency on //chrome code from the policy code.

BUG=271392
R=bauerb@chromium.org, dconnelly@chromium.org, jochen@chromium.org

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

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