angler-fishThe Vulnerability History Project

ChannelID-less Connections in Chrome should be more granular.

      Added enum PrivacyMode (Enabled/Disabled) to mark connections which should not use ChannelID even if it is globally enabled. 
PrivacyMode is enabled if user blocks sending or saving cookies to/from particular server, taking in account third party cookie settings as well. See crbug.com/223191 for design doc.

Segmented client socket pools according to privacy mode setting used for particular connection (added 'pm/' prefix to pool key. Introduced SpdySessionKey structure and added PrivacyMode to the key of SpdySessionPool.

Added propagation of Privacy Mode setting from Web Sockets. Added check of Privacy Mode to predictor and pre-connect logic.

BUG=223191
TEST=unit_tests gtest_filter=ChromeNetworkDelegatePrivacyModeTest*

Review URL: https://chromiumcodereview.appspot.com/13008028

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200852 0039d316-1c4b-4281-b951-d872f2087c98
    
commit e6d017658f1f60b06eebff1b0ac5ba6751b8daa7
+2 -6
+1 -1
-15
-3
-110
+1 -2
+2 -9
-2
+12 -16
+3 -6
+1 -1
+4 -2
+52 -5
+69 -5
+1 -1
+1 -1
+1 -2
-14
-9
-20
-6
+18 -20
+18 -20
+9 -10
+1 -2
-5
+2 -2
+1 -2
+15 -28
+2 -3
+2 -2
+3 -4
+2 -118
-2
+4 -12
-3
+17 -19
-14
-6
+17 -24
+28 -38
+7 -9
+7 -9
+3 -4
+12 -12
+12 -14
-50
-58
+69 -69
+21 -24
+68 -80
+83 -132
+2 -3
+2 -3
+4 -4
+2 -2
+10 -11
+10 -12
+1 -1
-8
-1
-12
-7
-3
+4 -9
+6 -7
+6 -7
expand_less