| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and ProofVerifierChromium to TransportSecurityState::CheckPublicKeyPins.
This required adding an is_issued_by_known_root argument to this method.
In addition, CheckPublicKeyPins now only checks static pins if the
TransportSecurityState's enable_static_pins_ member is true. This defaults
to true only for official desktop builds. This also means that dynamic
pins are now checked on mobile and on non-official builds.
BUG=398925,391033
Review URL: https://codereview.chromium.org/433123003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288435 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Response headers that are not valid UTF-8 can't be stored in a
base::StringValue, which is always a UTF-8 string, so escape any non-ASCII
values to be safe. This prevents a DCHECK when dev tools' network request
inspector is open and we receive these headers.
BUG=299880
Review URL: https://codereview.chromium.org/453483002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288357 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
R=rvargas@chromium.org
Review URL: https://codereview.chromium.org/444163003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288158 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
factory for WebSocket
BUG=394434
Review URL: https://codereview.chromium.org/440293003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288118 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TBR=sky
Review URL: https://codereview.chromium.org/448853002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288085 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/417653003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287798 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/445443002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287500 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/432053002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287464 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
https://codereview.chromium.org/328903004/ .
It allows SSLConnectJob waiting even in the case of false start. Additionally, it groups all of the functions for communicating between SSLConnectJobs into one object, the SSLConnectJobMessenger.
R=mmenke@chromium.org,rsleevi@chromium.org,wtc@chromium.org
TBR=mek@chromium.org,asargent@chormium.org,thestig@chromium.org
BUG=398967
Review URL: https://codereview.chromium.org/353713005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287408 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Original code review: https://codereview.chromium.org/436753002/
TBR=agl@chromium.org,rch@chromium.org
BUG=399457
Review URL: https://codereview.chromium.org/439133002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287275 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add case for PING frame in QuicFrame <<.
Merge internal change: 71908470
https://codereview.chromium.org/421963006/
Add methods to the QuicConnectionDebug visitor for tracking various
events which cause a QuicConnection to discard a packet.
Merge internal change: 71871881
https://codereview.chromium.org/421913015/
Change ReliableQuicStream::OnStreamFrame to return void since the method
already closes the connection when there are errors and callers are not
checking the return value
Make QuicStreamSequencer::OnStreamFrame return void instead of bool
since it is already closing the connect or resetting the stream when
there is an error.
Make two QUIC methods return void instead of bool.
Merge internal change: 71870242
https://codereview.chromium.org/420393004/
Create a visitor which can allow using both a trace... visitor and the
existing stats visitor.
Changed QuicConnection's QuicConnectionDebugVisitor to a scoped_ptr.
Merge internal change: 71863508
https://codereview.chromium.org/429453003/
Use 1350 byte QUIC packets by default.
Merge internal change: 71837432
https://codereview.chromium.org/427673005/
Improve debug logging of QUIC crypto handshake.
Merge internal change: 71833151
https://codereview.chromium.org/428803002/
Fix a bug in QuicUnackedPacketMap where an in flight packet could be
removed before being removed from bytes_in_flight.
Merge internal change: 71783653
https://codereview.chromium.org/422123005/
Inline the members of QUIC's ReceivedPacketInfo into QuicAckFrame now
that version 15 is gone.
Merge internal change: 71763611
https://codereview.chromium.org/424003002/
Remove FixRate congestion frame type.
Merge internal change: 71746617
https://codereview.chromium.org/424903002/
Remove QUIC_VERSION_15 now that Chrome Stable supports QUIC_VERSION_16.
Merge internal change: 71718286
https://codereview.chromium.org/413403008/
R=rch@chromium.org
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/420313005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287168 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
cache.
R=jar@chromium.org, rch@chromium.org
BUG=399118
Review URL: https://codereview.chromium.org/428383002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286760 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- A HEAD request is not cached by itself.
- A HEAD request is returned from the cache if an entry is there.
- A HEAD request updates the heders of a cached entry (after 304).
- A HEAD request invalidates a cached entry (200 after revalidation).
BUG=350407
Review URL: https://codereview.chromium.org/367973007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286647 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a header like
Chrome-Freshness: max-age=30,stale-while-revalidate=60,age=10
when sending a revalidation request to a server which supplied the
Cache-Control stale-while-revalidate directive on the previous response.
Design doc: https://docs.google.com/document/d/1DMCIMAKjyKeYiu69jlI5OsO2pGyAMb81XflYK4hxsNM/edit
BUG=348877
TEST=net_unittests
Review URL: https://codereview.chromium.org/391763002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286482 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Also remove server_protos from the SSLClientSocket interface. NSS wasn't
filling it in and NPN is going away eventually. With ALPN, this is less useful.
BUG=388429
Review URL: https://codereview.chromium.org/423623002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286405 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This permits WebSocket connections to inherit credentials from HTTP pages, and
matches the behaviour of other browsers.
Design doc: https://docs.google.com/a/chromium.org/document/d/129rLtf5x3hvhP5rayLiSxnEjOXS8Z7EnLJgBL4CdwjI/edit
Also consider any 401 or 407 results that reach the WebSocketStream
URLRequest::Delegate to be unrecoverable errors.
Also ensure that the response headers are reported back to the renderer
when the developer tools are open and a 401 error happens.
BUG=123862
Review URL: https://codereview.chromium.org/336263005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286108 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285954 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285946 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://codereview.chromium.org/293253002/)
Reason for revert:
this is still flaking. more info in bug
TBR=palmer
NOTRY=true
Original issue's description:
> Reenable UpdateDynamicPKPMaxAge0 test.
>
> BUG=375538
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281863
Review URL: https://codereview.chromium.org/412353006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285508 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This means that by default, Chrome will honor headers like:
Alternate-Protocol: 80:quic
Alternate-Protocol: 80:quic,p=1
But not:
Alternate-Protocol: 80:quic,p=.5
Eventually we need to switch to a dynamic threshold, but on step at a time.
Review URL: https://codereview.chromium.org/411423003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285473 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
of this feature.
TBR=darin
Review URL: https://codereview.chromium.org/356713005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285432 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
first two values are the same.
R=rsleevi@chromium.org, glider@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/418533002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285407 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285368 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
MockSSPILibrary::DeleteSecurityContext
BUG=NONE
R=cbentzel@chromium.org
Review URL: https://codereview.chromium.org/414443011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285191 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a reland of r284079 which was reverted in r284248 for components build
issues. That, in turn, was a reland of r283813 which was reverted in r283845
because it broke WebRTC tests on Android. That, in turn, was a reland of
r283542 which was reverted in r283591 because it broke the WebView build.
This is a much larger change than its diff suggests. If it breaks
something, please revert first and ask questions later.
BUG=393317
R=agl@chromium.org, jam@chromium.org
Review URL: https://codereview.chromium.org/401153002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284729 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
(No semantic change.)
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284422 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit r284079.
BUG=395271
Review URL: https://codereview.chromium.org/406693004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284248 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(This is a reland of r283813 which was reverted in r283845 because it broke
WebRTC tests on Android. That, in turn, was a reland of of r283542 which was
reverted in r283591 because it broke the WebView build.)
This is a much larger change than its diff suggests. If it breaks
something, please revert first and ask questions later.
BUG=none
Review URL: https://codereview.chromium.org/401613008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284079 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Failed WebRtcBrowserTest on android_dbg_triggered_tests.
> Switch to BoringSSL.
>
> (This is a reland of r283542 which was reverted in r283591 because it
> broke the WebView build. The android_aosp trybots are broken[1] so this
> based on hope.)
>
> This is a much larger change than its diff suggests. If it breaks
> something, please revert first and ask questions later.
>
> [1] http://code.google.com/p/chromium/issues/detail?id=394597
>
> BUG=none
>
> Review URL: https://codereview.chromium.org/399993002
TBR=agl@chromium.org
Review URL: https://codereview.chromium.org/405503002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283845 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(This is a reland of r283542 which was reverted in r283591 because it
broke the WebView build. The android_aosp trybots are broken[1] so this
based on hope.)
This is a much larger change than its diff suggests. If it breaks
something, please revert first and ask questions later.
[1] http://code.google.com/p/chromium/issues/detail?id=394597
BUG=none
Review URL: https://codereview.chromium.org/399993002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283813 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
This reverts commit 283542.
This broke the WebView Android build.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283591 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
(This is a much larger change than its diff suggests. If it breaks something, please revert first and ask questions later.)
R=davidben@chromium.org, eroman@chromium.org, rsleevi@chromium.org
Review URL: https://codereview.chromium.org/345063006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283542 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282977 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds an API so that the platform can clear the HTTP auth cache
at will. This can be useful when clearing private browsing data to prevent
cached credentials from being re-used.
BUG=63723
Review URL: https://codereview.chromium.org/351833002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282944 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
histograms for the in-memory MRU cache and the disk cache.
This cl is closely related to https://codereview.chromium.org/356953003/, which implements similar histograms in the http_cache.
and a follow up to https://codereview.chromium.org/361513003/
BUG=
Review URL: https://codereview.chromium.org/378063002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282584 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
r=wtc
Review URL: https://codereview.chromium.org/380403002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282511 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/356953003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282429 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Map WebSocket URL schemes to HTTP URL schemes for auth purposes.
>
> This permits WebSocket connections to inherit credentials from HTTP pages, and
> matches the behaviour of other browsers.
>
> Design doc: https://docs.google.com/a/chromium.org/document/d/129rLtf5x3hvhP5rayLiSxnEjOXS8Z7EnLJgBL4CdwjI/edit
>
> Also consider any 401 or 407 results that reach the WebSocketStream
> URLRequest::Delegate to be unrecoverable errors.
>
> Also ensure that the response headers are reported back to the renderer
> when the developer tools are open and a 401 error happens.
>
> BUG=123862
>
> Review URL: https://codereview.chromium.org/336263005
Seems to cause WebSocket1 failure in WinXP
TBR=ricea@chromium.org
Review URL: https://codereview.chromium.org/388493002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282331 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://codereview.chromium.org/378823002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282319 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This permits WebSocket connections to inherit credentials from HTTP pages, and
matches the behaviour of other browsers.
Design doc: https://docs.google.com/a/chromium.org/document/d/129rLtf5x3hvhP5rayLiSxnEjOXS8Z7EnLJgBL4CdwjI/edit
Also consider any 401 or 407 results that reach the WebSocketStream
URLRequest::Delegate to be unrecoverable errors.
Also ensure that the response headers are reported back to the renderer
when the developer tools are open and a 401 error happens.
BUG=123862
Review URL: https://codereview.chromium.org/336263005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282307 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add option to bypass the data compression proxy if the request resource
type (as inferred by the renderer process) is not an image.
For background, see this design doc:
https://docs.google.com/a/google.com/document/d/1Kz92Fmw3lv_R-2aNvLp8jW9lkfKOZciTZtni2qQ_Adc/edit
BUG=391836
Review URL: https://codereview.chromium.org/332313003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281951 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281883 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This contains fixes for the following sorts of issues:
* Octal escape sequence terminated by decimal number
* Possibly-uninitialized local variable
* Assignment inside conditional
* Signedness mismatch
This also contains a very small number of other cleanups to nearby code.
BUG=81439
TEST=none
R=rch@chromium.org
Review URL: https://codereview.chromium.org/374033002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281875 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=375538
Review URL: https://codereview.chromium.org/293253002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281863 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
field trial or a command line flag.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281777
Review URL: https://codereview.chromium.org/339663010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281861 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://codereview.chromium.org/339663010/)
Reason for revert:
causes sizes step to fail on linux x64 due to extra static initializers:
http://build.chromium.org/p/chromium/builders/Linux%20x64/builds/67438
Original issue's description:
> Add a probability to Alternate-Protocol support. Can be enabled either via a field trial or a command line flag.
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281777
TBR=rch@chromium.org
NOTRY=true
NOTREECHECKS=true
Review URL: https://codereview.chromium.org/377063002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281796 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
field trial or a command line flag.
Review URL: https://codereview.chromium.org/339663010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281777 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the WebSocket connection fails, it is possible for
WebSocketHandshakeStreamCreateHelper to have a pointer to a
WebSocketBasicHandshakeStream that has been deleted. So it is not safe
to store the failure message in WebSocketBasicHandshakeStream.
Instead, store it in StreamRequestImpl where it is guaranteed to stay
alive until the handshake completes.
BUG=379645
Review URL: https://codereview.chromium.org/368533002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281239 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/361513003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281191 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=345907
Review URL: https://codereview.chromium.org/361053002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281117 0039d316-1c4b-4281-b951-d872f2087c98
|