| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205547 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This keeps the forwarding header, just updates all current callers.
BUG=
R=avi@chromium.org
Review URL: https://codereview.chromium.org/16514006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205306 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205215 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/16622002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205202 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/15995039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204876 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204855 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
infrastructure into net/.
TEST=
out/Debug/content_unittests --gtest_filter='*Stream*'
out/Debug/content_unittests --gtest_filter='*Blob*'
out/Debug/net_unittests
Review URL: https://chromiumcodereview.appspot.com/16120005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204797 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This is a revert of r204036 and part of r203996.
BUG=245942
TBR=darin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/16571012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204773 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204527 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/12792010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204393 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Not just www.paypal.com.
BUG=245148
TEST=Navigating to http://paypal.com causes no HTTP traffic, only HTTPS
traffic.
Review URL: https://chromiumcodereview.appspot.com/16261002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204373 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
These cases weren't caught by the automated pass and/or needed to be
solved in another way than using .get().
BUG=245942
TBR=darin@chromium.org
Review URL: https://codereview.chromium.org/16226028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204036 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
Instead of forcing QUIC on for all origins with the specified port, this will allow QUIC to be forced for a particular origin. The old flag made it challenging to test QUIC to servers on non-unique ports (like 80 or 443).
Review URL: https://chromiumcodereview.appspot.com/15896025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203842 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
It never gets called in the current implementation, and the concept of
DomainState is changing to better support HPKP and TACK.
BUG=171025
TBR=cbentzel,agl
Review URL: https://chromiumcodereview.appspot.com/16236007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203639 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=245942
Review URL: https://chromiumcodereview.appspot.com/15881011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203633 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Linux fixes
BUG=110610
TBR=darin
Review URL: https://chromiumcodereview.appspot.com/15829004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203535 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patch by Adam Langley.
R=agl@chromium.org
BUG=90392
TEST=net_unittests
Review URL: https://chromiumcodereview.appspot.com/14772023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203090 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
changes to the TransportSecurityState data structures and JSON format.
The "--hsts-hosts" feature is likely unused, is redundant with net-internals, and is dangerous since it fails silently. Also it exposes the internal JSON format to the user.
BUG=156152
R=rsleevi,palmer
Review URL: https://chromiumcodereview.appspot.com/15711007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202957 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This change causes us to not process any headers unless they are correctly
terminated with a \r\n\r\n sequence.
BUG=244260
Review URL: https://chromiumcodereview.appspot.com/15688012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202927 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202652 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use SpdyStreamType to enforce stream and stream delegate semantics
instead of trying to infer it from various parameters and return values.
Remove now-redundant return value of
SpdyStream::Delegate::OnSendRequestHeadersComplete().
Comment expected semantics of SpdyStream::Delegate member
functions and related SpdyStream member functions.
Enforce some restrictions on push streams. Namely, set send_status_
to NO_MORE_DATA_TO_SEND immediately for them, and make sure
its entry point is SpdyStream::OnResponseReceived().
Also clarify how push streams interact with the stream histograms.
BUG=243643
Review URL: https://chromiumcodereview.appspot.com/15701009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202401 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rather than computing the expiration
internally.
This makes it easier for the caller to handle the special max-age=0.
BUG=156152
R=rsleevi,palmer
Review URL: https://chromiumcodereview.appspot.com/15962009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202272 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=243385
R=rsleevi@chromium.org
Review URL: https://codereview.chromium.org/15755015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202117 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=226192
Review URL: https://chromiumcodereview.appspot.com/15784005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202099 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=236029
R=agl@chromium.org
Review URL: https://chromiumcodereview.appspot.com/14021017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201882 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=226192
Review URL: https://chromiumcodereview.appspot.com/15259003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201744 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/14951008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201639 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
on a connection to be established. The state of the
connection was not being queried, due to a old regression.
BUG=118136
Review URL: https://chromiumcodereview.appspot.com/15322002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200985 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These should hopefully be uncontroversial, so I'm sending them to Darin
because he has global OWNERS approval on src/*. Let me know if you want
to split this up and farm it out to individual components.
R=darin@chromium.org
CC=thakis@chromium.org
BUG=82385
Fix some -Wdeprecated-writable-strings warnings for wide string
literals.
net/dns/dns_config_service_win_unittest.cc
net/http/http_auth_sspi_win.cc
net/http/http_auth_sspi_win.h
ui/shell_dialogs/select_file_dialog_win_unittest.cc
Use reinterpret_cast<> to convert from void * to a function pointer.
chrome/browser/policy/policy_loader_win.cc
content/browser/gamepad/gamepad_platform_data_fetcher_win.cc
Remove "public" from a typedef. It's not clear that that really means.
chrome/browser/enumerate_modules_model_unittest_win.cc
Escape an unescaped backslash in a wide string iteral to prevent it from
being interpreted as a unicode literal ("\uXXX").
chrome/browser/storage_monitor/test_portable_device_watcher_win.cc
Use base::UTF8ToUTF16() over ATL::CA2W() and avoid an unnecessary
c_str(). Clang can't convert from CA2WEX<> to string16.
chrome/browser/ui/views/external_tab_container_win.cc
Fix a -Wenum-compare warning when asserting that two enum values are
equal.
sandbox/win/src/policy_params.h
Don't define va_copy for clang. It provides one in <stdarg.h>.
third_party/leveldatabase/port/port_chromium.h
Review URL: https://chromiumcodereview.appspot.com/15200005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200814 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
They realised that they can't do that yet.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200637 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200569 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use sparse histograms to track causes of errors in cache reads. At the same
time, expand error reporting in SimpleCache.
This is intended to help track down transient read errors in the simple cache,
but may be useful on other backends as well.
R=pasko@chromium.org,felipeg,rvargas
BUG=239223
Review URL: https://chromiumcodereview.appspot.com/14750008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200363 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the request went over the wire before headers were returned,
return information about the last over the wire request. Otherwise,
set send times to be when the cache entry was opened, and
receive_header_start to be when the headers were read.
BUG=239842
Review URL: https://chromiumcodereview.appspot.com/14625012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200356 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Merge several of the Construct* functions that just call through into the
framer into SpdyTestUtil.
BUG=226192
Review URL: https://chromiumcodereview.appspot.com/15112006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200353 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removes support for SPDY 4a1.
Remove --enable-spdy4 flag for now (until we get test
coverage).
This lands server change 45362310.
BUG=230124
TBR=jam@chromium.org
Review URL: https://chromiumcodereview.appspot.com/14189003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200342 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=238844
Review URL: https://chromiumcodereview.appspot.com/14865009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200153 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=226192
Review URL: https://chromiumcodereview.appspot.com/14975006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200045 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
to their parent socket pool as, so they can be closed when
they're idle and the parent pool is stalled.
BUG=92244
Review URL: https://chromiumcodereview.appspot.com/14473012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199880 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FIXING broken about:flags for simple cache on Android.
Until recently we used a trick to avoid dedicated global settings in
net::disk_cache other than the objects belonging to the infrastructure of the
trials. The commandline flag would change the experiment group on the chromium
side, while one the net/ side we would check which group we belong to.
Later we decided to switch to the server-controlled experiments. This went into
a conflict with our approach: the server-controlled experiment would override
the settings set by the command-line option. This is unfortunate.
Stevet@ suggests that there are plans to avoid overriding the experiment groups
by the server config, but in the meantime the trick stops working.
Solve this by adding backend type enum provided at backend instantiation.
TBR=jam@chromium.org
BUG=239461
Review URL: https://chromiumcodereview.appspot.com/14828004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199708 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will make it much easier to avoid use-after-free bugs when we
make SpdyStream not ref-counted.
Expose only WeakPtr<SpdyStream> objects outside of SpdySession
and SpdyWriteQueue.
Introduce SpdySession::DeleteStreamRefs, which takes a pointer to the last
scoped_refptr to that stream and serves as its destructor.
Fix a lot of dangling SpdyStream references in tests.
Remove SpdyStream::cancelled(), as a stream now guaranteed to be
deleted when cancelled.
Split SpdyStreamRequest::OnRequestComplete() into
OnRequestComplete{Success,Failure}().
BUG=178943
Review URL: https://chromiumcodereview.appspot.com/14812007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199688 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Add GetFullRequestHeaders, from URLRequestJob to HttpNetworkTransaction.
>
> Dev Tools displays the raw request and response headers. Right now, it gets
> them by snarfing them out of the NetLog, which is bad, as the NetLog is for
> huamn consumption only. I'm trying to refactor the DevToolsNetLogObserver
> away; providing an alternate, supported path to get the request headers is the
> first step.
>
> BUG=196304
> TEST=added to URLRequest, HttpTransaction, and HttpNetworkTransaction unittests
>
> Review URL: https://chromiumcodereview.appspot.com/12621011
TBR=ttuttle@chromium.org
Review URL: https://codereview.chromium.org/15054003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199553 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Dev Tools displays the raw request and response headers. Right now, it gets
them by snarfing them out of the NetLog, which is bad, as the NetLog is for
huamn consumption only. I'm trying to refactor the DevToolsNetLogObserver
away; providing an alternate, supported path to get the request headers is the
first step.
BUG=196304
TEST=added to URLRequest, HttpTransaction, and HttpNetworkTransaction unittests
Review URL: https://chromiumcodereview.appspot.com/12621011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199535 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=239514
Review URL: https://chromiumcodereview.appspot.com/14969011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199363 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of reverting http://crrev.com/195335, this CL will disable
the changes introduced in that CL.
BUG=237055
Review URL: https://chromiumcodereview.appspot.com/14759024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199185 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
Factor out the shared code between the deterministic TCP and UDP client sockets into a DeterministicSocketHelper.
Review URL: https://chromiumcodereview.appspot.com/14796009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198935 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198547 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
By request of Jorn Mineur.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198473 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
After a long discussion it was decided that the backend is the only proper place
for this kind of correctness checks. All backends should do that.
BUG=236384
Review URL: https://chromiumcodereview.appspot.com/14740016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198425 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On CreateEntry we return net::OK immediately while issuing a WorkerPool thread to create the files.
If the file creation fails, we will fail every next operation in the same entry.
If another (read or write) operation is called in that entry before the completion of the creation, that entry is enqueued and we return IO_PENDING.
The same happens to the WriteData operation.
If the WriteData is called in an entry that does not have any operation in progress, we return buf_len immediately and issue a WorkerPool to write the data in the background.
If the WriteData operation fails every next operation will fail.
If we receive another Read/Write operation while the WriteData background operation did not complete, we always enqueue the operation and return IO_PENDING.
BUG=173400
Review URL: https://chromiumcodereview.appspot.com/13907009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198286 0039d316-1c4b-4281-b951-d872f2087c98
|