summaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* Don't attempt to forward declare StringPiece.erikwright@chromium.org2011-12-073-6/+2
| | | | | | | | | | | | | 1) This is discouraged because it prevents callers from benefiting from automatic coersion from string/char* types. 2) A follow-up CL (http://codereview.chromium.org/8659047/) will make StringPiece a template, and thus awkward to forward declare. The very small number of places that were appropriately forward declaring it do not justify writing a 'string_piece_forward.h'. BUG=87634 R=willchan@chromium.org Review URL: http://codereview.chromium.org/8817019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113404 0039d316-1c4b-4281-b951-d872f2087c98
* Add billing.ntt-east.co.jp to False Start blacklist pending their upgrade.agl@chromium.org2011-12-072-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113399 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert "net: reenable Twitter's public key pins with api.twitter.com ↵agl@chromium.org2011-12-074-15/+565
| | | | | | | | | using the CDN pins."" This relands r113203, which was reverted in r113229. Hopefully the ChromeOS bots will be happy this time. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113398 0039d316-1c4b-4281-b951-d872f2087c98
* Reverts a commit that caused ASAN failures, and 2 dependent commits.joi@chromium.org2011-12-0723-919/+139
| | | | | | | | | | | | | The primary commit was 113249, the dependents were 113261, 113263. This is a speculative revert, r113249 is by far the likeliest culprit in the blamelist of build http://build.chromium.org/p/chromium.memory/builders/ASAN%20Tests%20%282%29/builds/2325 which is where we started seeing the ASAN failures in question, will un-revert if it does not fix the problem. TBR=jhawkins@chromium.org BUG=none Review URL: http://codereview.chromium.org/8832006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113387 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113282 - Isolates generic DnsClient from AsyncHostResolver. cbentzel@chromium.org2011-12-0726-1965/+927
| | | | | | | | | | | | | | | | | | | | | | | | There were a few memory issues including access of unadressable memory. DnsClient provides a generic DNS client that allows fetching resource records. DnsClient is very lightweight and does not support aggregation, queuing or prioritization of requests. This is the first CL in a series to merge AsyncHostResolver into HostResolverImpl. Also introduces general-purpose BigEndianReader/Writer. BUG=90881 TEST=./net_unittests Review URL: http://codereview.chromium.org/8762001 TBR=szym@chromium.org Review URL: http://codereview.chromium.org/8835011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113384 0039d316-1c4b-4281-b951-d872f2087c98
* Fix leak in HttpPipelinedHostPoolTest.simonjam@chromium.org2011-12-071-0/+1
| | | | | | | | | | BUG=None TEST=net_unittests under valgrind Review URL: http://codereview.chromium.org/8838001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113360 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113338 - Revert 113315 (speculative revert for http://crbug.com/106657)thakis@chromium.org2011-12-0713-93/+211
| | | | | | | | | | | | | | | | | | - Save pipelining capabilities for the most used hosts between sessions. BUG=None TEST=unit_tests Review URL: http://codereview.chromium.org/8770035 TBR=simonjam@chromium.org Review URL: http://codereview.chromium.org/8833003 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/8832003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113341 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113315 (speculative revert for http://crbug.com/106657)thakis@chromium.org2011-12-0713-211/+93
| | | | | | | | | | | | | | | - Save pipelining capabilities for the most used hosts between sessions. BUG=None TEST=unit_tests Review URL: http://codereview.chromium.org/8770035 TBR=simonjam@chromium.org Review URL: http://codereview.chromium.org/8833003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113338 0039d316-1c4b-4281-b951-d872f2087c98
* mac: s/UINT32_MAX/kuint32max/thakis@chromium.org2011-12-071-2/+2
| | | | | | | | | | | | Needed to build on 10.5, which is in turn needed for coverity. BUG=none TEST=none Review URL: http://codereview.chromium.org/8828010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113332 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert Socket::Read.jhawkins@chromium.org2011-12-0742-174/+988
| | | | | | | | | | BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8801005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113326 0039d316-1c4b-4281-b951-d872f2087c98
* Save pipelining capabilities for the most used hosts between sessions.simonjam@chromium.org2011-12-0713-93/+211
| | | | | | | | | | BUG=None TEST=unit_tests Review URL: http://codereview.chromium.org/8770035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113315 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113300 - Revert of 112134 of Revert 112130 - Close idle connections / ↵rtenneti@chromium.org2011-12-0717-663/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | SPDY sessions when needed. Due to the idle connection state being held by different socket pools, it's possible for one socket pool to hold an idle socket in a lower layer socket pool. From the lower level socket pool's perspective, the socket is being "actively" used. From the higher socket pool's (including SpdySession, which is more of a connection manager) perspective, the connection is idle and can be closed if we have hit a limit. Normally this isn't a big deal, except when we have a lot of idle SPDY connections and are connecting via a proxy, so we have low connection limits through the proxy server. We address this problem by allowing lower-level socket pools to tell higher level socket pools to close a socket. Fixed ASAN test failures by removing .Times(1) and .Times(2) from CloseMultipleIdleSocketsHeldByLayeredPoolWhenNeeded unittest (this removes the tests relying on the order of std::set in CloseOneIdleConnectionInLayeredPool). ASAN is probably causing the memory allocator to allocate the pools differently. The std::set is ordered by LayeredPool* which is the address of the LayeredPool (willchan). BUG=62364,92244, 105839 TEST=none Review URL: http://codereview.chromium.org/8340012 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/8745007 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/8803019 TBR=rtenneti@chromium.org Review URL: http://codereview.chromium.org/8825014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113305 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of 112134 of Revert 112130 - Close idle connections / SPDY sessions ↵rtenneti@chromium.org2011-12-0617-48/+663
| | | | | | | | | | | | | | | | | | | | | | | | | | when needed. Due to the idle connection state being held by different socket pools, it's possible for one socket pool to hold an idle socket in a lower layer socket pool. From the lower level socket pool's perspective, the socket is being "actively" used. From the higher socket pool's (including SpdySession, which is more of a connection manager) perspective, the connection is idle and can be closed if we have hit a limit. Normally this isn't a big deal, except when we have a lot of idle SPDY connections and are connecting via a proxy, so we have low connection limits through the proxy server. We address this problem by allowing lower-level socket pools to tell higher level socket pools to close a socket. Fixed ASAN test failures by removing .Times(1) and .Times(2) from CloseMultipleIdleSocketsHeldByLayeredPoolWhenNeeded unittest (this removes the tests relying on the order of std::set in CloseOneIdleConnectionInLayeredPool). ASAN is probably causing the memory allocator to allocate the pools differently. The std::set is ordered by LayeredPool* which is the address of the LayeredPool (willchan). BUG=62364,92244, 105839 TEST=none Review URL: http://codereview.chromium.org/8340012 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/8745007 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/8803019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113300 0039d316-1c4b-4281-b951-d872f2087c98
* SPDY PING - log the type of PING if it is receivedrtenneti@chromium.org2011-12-062-3/+9
| | | | | | | | | | | | | | | | | | or sent ping (like below): t=1323200233634 [st=196851] SPDY_SESSION_PING --> type = "sent" --> unique_id = 3 t=1323200233638 [st=196855] SPDY_SESSION_PING --> type = "received" --> unique_id = 3 BUG=106499 R=willchan TEST=spdy unit tests Review URL: http://codereview.chromium.org/8824005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113295 0039d316-1c4b-4281-b951-d872f2087c98
* Fix race between OnPipelineFeedback andsimonjam@chromium.org2011-12-063-13/+126
| | | | | | | | | | | | | | | | | | | | HttpStreamFactoryImpl::Job::OnStreamReadyCallback. As a side-effect of OnPipelineFeedback() calling OnPipelineHasCapacity() on all of the pipelines, some requests are late-bound to existing pipelines with capacity. However, those requests may have been in the process of establishing new pipelines. By stealing those requests, the new pipelines become empty and are deleted. Later iterations of the loop in OnPipelineFeedback() weren't careful about checking to see if the pipeline was deleted before calling OnPipelineHasCapacity() on it. BUG=106313 TEST=net_unittests under valgrind Review URL: http://codereview.chromium.org/8820005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113287 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert StreamSocket::Connect.jhawkins@chromium.org2011-12-0632-181/+696
| | | | | | | | | | BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8801004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113283 0039d316-1c4b-4281-b951-d872f2087c98
* Isolates generic DnsClient from AsyncHostResolver. szym@chromium.org2011-12-0626-927/+1965
| | | | | | | | | | | | | | | | | | | DnsClient provides a generic DNS client that allows fetching resource records. DnsClient is very lightweight and does not support aggregation, queuing or prioritization of requests. This is the first CL in a series to merge AsyncHostResolver into HostResolverImpl. Also introduces general-purpose BigEndianReader/Writer. BUG=90881 TEST=./net_unittests Review URL: http://codereview.chromium.org/8762001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113282 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert proxy_resolution_service_provider.cc.jhawkins@chromium.org2011-12-062-8/+89
| | | | | | | | | | BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8799001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113264 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert chrome_benchmarking_message_filter.cc.jhawkins@chromium.org2011-12-069-0/+37
| | | | | | | | | | BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8792006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113263 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert browsing_data_remover.jhawkins@chromium.org2011-12-069-0/+78
| | | | | | | | | | BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8798001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113261 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert disk_cache_based_ssl_host_info.jhawkins@chromium.org2011-12-0623-139/+804
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8794003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113249 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "net: reenable Twitter's public key pins with api.twitter.com using ↵agl@chromium.org2011-12-064-563/+18
| | | | | | | | | | the CDN pins." This reverts commit r113203. It failed on the ChromeOS valgrind and heapcheck bots. BUG=113203 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113229 0039d316-1c4b-4281-b951-d872f2087c98
* net: reenable Twitter's public key pins with api.twitter.com using the CDN pins.agl@chromium.org2011-12-064-18/+563
| | | | | | | | | BUG=none TEST=https://twitter.com loads Review URL: http://codereview.chromium.org/8770048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113203 0039d316-1c4b-4281-b951-d872f2087c98
* Honor server requested origin bound client cert types.mattm@chromium.org2011-12-062-12/+10
| | | | | | | | | | | | BUG=88782 TEST=changed certificate_types struct in local copy of nss selfserv, reloaded, checked "echo .dump | sqlite3 'Origin Bound Certs'" to see if new cert was generated. Review URL: http://codereview.chromium.org/8821002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113159 0039d316-1c4b-4281-b951-d872f2087c98
* SSLClientSocketNSS::ClearSessionCache should initializewtc@chromium.org2011-12-064-3/+28
| | | | | | | | | | | | | | | | NSS implicitly before calling the NSS function SSL_ClearSessionCache. Remove the stale comment that SSLClientSocketNSS::ClearSessionCache is only for tests. R=mattm@chromium.org BUG=105431 TEST=net_unittests --gtest_filter=SSLClientSocketNSSTest.ClearSessionCache Review URL: http://codereview.chromium.org/8816002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113125 0039d316-1c4b-4281-b951-d872f2087c98
* Convert more NewRunnable* to base::Bind().mdm@chromium.org2011-12-061-7/+9
| | | | | | Review URL: http://codereview.chromium.org/8742001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113122 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113112 - Revert 113103 - Changes the visibility of the 'mobile' node ↵sky@chromium.org2011-12-061-2/+0
| | | | | | | | | | | | | | | | | based on whether there is a node on the sync side. BUG=102714 TEST=none Review URL: http://codereview.chromium.org/8786006 TBR=sky@chromium.org Review URL: http://codereview.chromium.org/8819008 TBR=sky@chromium.org Review URL: http://codereview.chromium.org/8818004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113117 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113103 - Changes the visibility of the 'mobile' node based on whether ↵sky@chromium.org2011-12-061-0/+2
| | | | | | | | | | | | | | there is a node on the sync side. BUG=102714 TEST=none Review URL: http://codereview.chromium.org/8786006 TBR=sky@chromium.org Review URL: http://codereview.chromium.org/8819008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113112 0039d316-1c4b-4281-b951-d872f2087c98
* Add NSS function to retrieve TLS client cert types requested by server.mattm@chromium.org2011-12-067-1/+142
| | | | | | | | | BUG=88782 TEST=none Review URL: http://codereview.chromium.org/8771031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113109 0039d316-1c4b-4281-b951-d872f2087c98
* Support EC certs in OriginBoundCertService and OriginBoundCertStore.mattm@chromium.org2011-12-0613-176/+651
| | | | | | | | | | | | | OriginBoundCertService::GetOriginBoundCert takes a vector of requested cert types in order of preferrence and will return or generate one of an acceptable type. BUG=88782 TEST=net_unittests, unit_tests Review URL: http://codereview.chromium.org/8662036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113108 0039d316-1c4b-4281-b951-d872f2087c98
* Changes the visibility of the 'mobile' node based on whether there is a node ↵sky@chromium.org2011-12-061-2/+0
| | | | | | | | | | | on the sync side. BUG=102714 TEST=none Review URL: http://codereview.chromium.org/8786006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113103 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113085 - broke unittestsmmenke@chromium.org2011-12-062-2/+3
| | | | | | | | | | | | Move CapturingNetLog out of net project, as it's no longer used except in tests. Review URL: http://codereview.chromium.org/8567011 TBR=mmenke@chromium.org Review URL: http://codereview.chromium.org/8822002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113100 0039d316-1c4b-4281-b951-d872f2087c98
* Move CapturingNetLog out of net project, as it's no longermmenke@chromium.org2011-12-062-3/+2
| | | | | | | | used except in tests. Review URL: http://codereview.chromium.org/8567011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113085 0039d316-1c4b-4281-b951-d872f2087c98
* Log server advertised protos and the selectedrtenneti@google.com2011-12-0516-19/+139
| | | | | | | | | | | | | | | | | | | | | | | next_proto to net-internals log. In net internal logs, we will log proto in the following manner: (P) t=1323112212350 [st=463] HTTP_STREAM_REQUEST_PROTO --> next_proto_status = "negotiated" --> proto = "spdy/2" --> server_protos = "spdy/2,http/1.1" BUG=62064 TEST=network unit tests R=willchan The following was the original CL: http://codereview.chromium.org/8676046/ Review URL: http://codereview.chromium.org/8787011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113052 0039d316-1c4b-4281-b951-d872f2087c98
* Added auto-enrollment request support to the device_management_backend.joaodasilva@chromium.org2011-12-051-0/+39
| | | | | | | | | | | | | Also extended the testserver's device_management.py handler to serve these requests. BUG=chromium-os:23063 TEST=unit_tests and browser_tests all pass Review URL: http://codereview.chromium.org/8741014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113009 0039d316-1c4b-4281-b951-d872f2087c98
* Store session cookies and restore them if chrome crashes or autorestarts.marja@chromium.org2011-12-053-5/+68
| | | | | | | | | | | | The feature is behind a command line flag --enable-restore-session-state. BUG=1870 TEST=CookieMonsterTest.PersistSessionCookies, SQLitePersistentCookieStoreTest.Test(Dont)?LoadOldSessionCookies, SQLitePersistentCookieStoreTest.PersistHasExpiresAndIsPersistent Review URL: http://codereview.chromium.org/8533013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112970 0039d316-1c4b-4281-b951-d872f2087c98
* Make SpdyFrame::size a constant instead of a static method so gcc can ↵thakis@chromium.org2011-12-049-63/+68
| | | | | | | | | | | | | | | | | | optimize the call away. Manual changes to spdy_protocol.h and spdy_framer.cc, rest of the CL generated by running: perl -pi -e "s/SpdyFrame::size\(\)/SpdyFrame::kHeaderSize/" $(git grep -l SpdyFrame::size) This is the same as the google-internal CL 25917366 and 25938381 BUG=94125 TEST=none TBR=willchan Review URL: http://codereview.chromium.org/8790015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112929 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert SSLHostInfo::WaitForDataReady.jhawkins@chromium.org2011-12-037-55/+47
| | | | | | | | | | BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8784003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112899 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash bug in SpdyProxyClientSocket.GetPeerAddress whererch@chromium.org2011-12-033-21/+24
| | | | | | | | | | | | spdy_stream_ was used when NULL. We now copy the peer address and local address from spdy_stream_ when we connect. BUG=106073 TEST=SpdyProxyClientSocket.GetPeerAddressReturnsCorrectValue Review URL: http://codereview.chromium.org/8771012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112871 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert ServerSocket::Accept.jhawkins@chromium.org2011-12-037-31/+29
| | | | | | | | | | BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8771030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112863 0039d316-1c4b-4281-b951-d872f2087c98
* Add a preference for enabling the TLS origin-bound certificates extension.wtc@chromium.org2011-12-032-17/+3
| | | | | | | | | | | | The preference is controlled by the command line and enterprise policy. R=mattm@chromium.org,mnissler@chromium.org BUG=106077 TEST=Existing policy unit tests are updated. Review URL: http://codereview.chromium.org/8772014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112848 0039d316-1c4b-4281-b951-d872f2087c98
* ReReland: Allow signing EC certs and creating EC origin-bound certs.mattm@chromium.org2011-12-026-98/+231
| | | | | | | | | BUG=88782 TEST=X509UtilNSSTest Review URL: http://codereview.chromium.org/8537025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112780 0039d316-1c4b-4281-b951-d872f2087c98
* Make SDCH classes IO-thread-only. Remove TSan suppression.joi@chromium.org2011-12-022-3/+19
| | | | | | | | | BUG=105579 Review URL: http://codereview.chromium.org/8749016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112677 0039d316-1c4b-4281-b951-d872f2087c98
* Parse individual X.509 name components on Windows, rather than parsing the ↵rsleevi@chromium.org2011-12-026-91/+309
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | stringified form On Windows, rather than converting the entire certificate name to a string and attempting to parse out the components and values, iterate through the relativeDistinguishedName and AttributeTypeAndValue pairs to extract each name component. This is to ensure that: 1) When multiple AVAs are present in an RDN, ALL AVAs are parsed. 2) When converting an AVA to a string, no extra escaping is applied. This also fixes domainComponent parsing on OS X, so that unittests with a domainComponent can pass. BUG=101009, 102839 TEST=net_unittests:X509CertificateTest has two new regression tests. Additionally, sample a variety of SSL sites and ensure no regressions, paying attention to internationalized domains. Review URL: http://codereview.chromium.org/8608003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112650 0039d316-1c4b-4281-b951-d872f2087c98
* On OS X, when accessing a certificate field (subject, issuer, extension, ↵rsleevi@chromium.org2011-12-021-154/+231
| | | | | | | | | | | | | | etc), rather than parsing the entire certificate and converting all known fields to their CSSM equivalents, just parse the desired field. Additionally, when parsing multiple fields, instead of parsing the certificate multiple times, parse it once and cache the internal parse results. While the cached handle cannot reliably be used across threads, it can reduce the amount of parsing for the common case, where constructing an X509Certificate on OS X requires parsing three fields. BUG=101231 TEST=net_unittests passes on OS X 10.5, 10.6, and 10.7 Review URL: http://codereview.chromium.org/8470012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112636 0039d316-1c4b-4281-b951-d872f2087c98
* Fix shared library build in net.simonjam@chromium.org2011-12-021-1/+1
| | | | | | | | | BUG=None TEST=Build on Win Shared Review URL: http://codereview.chromium.org/8770031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112585 0039d316-1c4b-4281-b951-d872f2087c98
* BookmarkModel cleanup. synced_node is now mobile_node and I'm nukingsky@chromium.org2011-12-011-0/+2
| | | | | | | | | | | | IsVisible as it's no longer needed. This cl resulted in a ton of changes, the majority are renames though. BUG=102714 TEST=covered by tests Review URL: http://codereview.chromium.org/8759017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112558 0039d316-1c4b-4281-b951-d872f2087c98
* Slow start pipelining.simonjam@chromium.org2011-12-0119-426/+1288
| | | | | | | | | | | | | | | | | | | | | We need to wait for an HTTP/1.1 keep-alive response before we try to pipeline. Notably, this fixes wordpress.com and techcrunch.com. Remember which hosts clearly support, or don't support pipelining. If pipelining is supported, skip the slow start. If it's not, fall back to HttpBasicStreams. A site is judged not to support pipelining if we see an old HTTP version or encounter a socket error. A site does support pipelining if it successfully handles 3 requests. There's obviously room for improvement here, but this is a start. Related changes: - In the spirit of CHECK() failing. Use CHECK(false) instead of NOTREACHED(). - HttpPipelinedHost is now an interface with a corresponding Impl. This is to help unit test HttpPipelinedHostPool. BUG=None TEST=net_unittests Review URL: http://codereview.chromium.org/8586015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112557 0039d316-1c4b-4281-b951-d872f2087c98
* Remove all 192 static initializers from transport_security_state.ccthakis@chromium.org2011-12-011-19/+19
| | | | | | | | | | | | | This is necessary for gcc 4.4.3, see the comments on http://codereview.chromium.org/8687014 BUG=94925 TEST=none TBR=willchan Review URL: http://codereview.chromium.org/8776012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112537 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert net::NetworkDelegate.jhawkins@chromium.org2011-12-0110-51/+54
| | | | | | | | | | R=groby BUG=none TEST=none Review URL: http://codereview.chromium.org/8743019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112534 0039d316-1c4b-4281-b951-d872f2087c98