[Downloads] Make ShellDownloadManagerDelegate be owned by ShellBrowserContext.

ShellBrowserContext now owns ShellDownloadManagerDelegate instead of
just holding a reference. This follows similar changes made to
ChromeDownloadManagerDelegate to resolve lifetime issues.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241167 0039d316-1c4b-4281-b951-d872f2087c98
[SafeBrowsing] Save malware indicator in NavigationEntry extra data.

R=mattm@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241168 0039d316-1c4b-4281-b951-d872f2087c98
Cast: initialize logging for test receiver app

Calling static initializers for VLOG and friends.

TBR=mikhal@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241169 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 241168
sync: Use invalidation local acknowledgements

As of r237421, the invalidations system now supports a new and improved
form of local acknowledgements.  Any invalidations not explicitly
dropped or acknowledged will be redelivered after a restart.

This CL makes use of the new functionality in sync.  It uses the
DataTypeTrackers to track the status of pending invalidations and
acknowledge or drop invalidations as appropriate.

Also notable in this CL is that the 'server_dropped_hints' flag has now
been uncommented in the sync protocol.  We've known for a long time that
we wanted to support such a flag, but haven't been able to implement it
correctly until now.

BUG=78462,233437

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

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