Fix updating network lists after removal of policy from a network.

If a visible network was removed from policy, the UI didn't update correctly and continued to show the old network as managed.

The problem was in the favorite list not correctly updating.
Additionally, there was a potential subtle bug in PolicyApplicator, if the SSID of a Wifi network is changed in policy. Now, it's ensured that at first all profile entries are removed and then the new configuration is written to Shill.

BUG=278101

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244943 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 244943
Hash sink IDs with a resettable salt.

BUG=298158

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244944 0039d316-1c4b-4281-b951-d872f2087c98
Properly coalesce WebTouchEvent's with out-of-order WebTouchPoints

The current WebTouchEvent coalescing logic assumes that WebTouchPoints with the
same id remain at the same index in the WebTouchEvent pointer array.  We should
not make that assumption, and should handle the case where the pointers are
out-of-order.

BUG=333407
TBR=piman@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244945 0039d316-1c4b-4281-b951-d872f2087c98
Attempt to debug SpdyNetworkTransactionTest slowness on Vista.

This CL will be reverted once we get better timing data.

BUG=332112

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

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