summaryrefslogtreecommitdiffstats
path: root/net/tools
Commit message (Collapse)AuthorAgeFilesLines
* Temporary preventative build fixjoth@chromium.org2012-01-242-4/+6
| | | | | | | | | | | | | | Openssl 1.0.0 is const correct for SSL_METHOD - adding a temporary const cast so we can land the new versin without a build break. (Once that is in, we can switch the SSLState member to be const instead) BUG=None TEST=try servers remain green Review URL: http://codereview.chromium.org/9129019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118836 0039d316-1c4b-4281-b951-d872f2087c98
* SPDY - FlipServer - changes to use BufferedSpdyFramer.rtenneti@chromium.org2012-01-182-30/+52
| | | | | | | | | TEST=network unittests R=wtc Review URL: http://codereview.chromium.org/9174026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118139 0039d316-1c4b-4281-b951-d872f2087c98
* chrome.experimental.downloads.download works for non-GET methods.cbentzel@chromium.org2012-01-131-4/+13
| | | | | | | | | | | | This wasn't working because ResourceDispatcherHost::BeginDownload was overriding the method. I traced through all callers of BeginDownload and confirmed that the method did not need to be set. BUG=110044 TEST=DownloadsApiTest.Downloads [the downloadPost test case] Review URL: http://codereview.chromium.org/9148070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117637 0039d316-1c4b-4281-b951-d872f2087c98
* sync: Merge the server-side protocol changes.albertb@chromium.org2012-01-041-6/+7
| | | | | | | | | | R=ncarter BUG=b/3051801 TEST=it builds Review URL: http://codereview.chromium.org/8966034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116319 0039d316-1c4b-4281-b951-d872f2087c98
* Added DMServer updates to the auto-enrollment protobuf fields.joaodasilva@chromium.org2011-12-281-3/+3
| | | | | | | | | BUG=chromium-os:23063 TEST=All works as before. unit_tests:AutoEnrollmentClientTest.* Review URL: http://codereview.chromium.org/9044005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115886 0039d316-1c4b-4281-b951-d872f2087c98
* Add support to SpdyFramer for the CREDENTIAL frame.rch@chromium.org2011-12-272-1/+7
| | | | | | | | | BUG=106103 TEST=None Review URL: http://codereview.chromium.org/8893003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115835 0039d316-1c4b-4281-b951-d872f2087c98
* net: add a Serialize method to CRLSet.agl@chromium.org2011-12-271-7/+16
| | | | | | | | | | | | | This allows us to download and apply a delta update to our current CRLSet and then save the result to disk. BUG=none TEST=net_unittests Review URL: http://codereview.chromium.org/8958006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115833 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to read SPDY headers incrementally. rtenneti@chromium.org2011-12-252-6/+8
| | | | | | | | | | | | | | | | | | | | | Added buffered_spdy_framer class to support buffering of spdy control header frames. It calls SpdySession's OnSyn, OnSynReply and OnHeaders methods after receiving all the control frame header data. spdy_framer*.* - integrated changes from the server. Changed OnControlFrameHeaderData to send control frame instead of stream_id. Merged changes from the following issue into this issue. http://codereview.chromium.org/8953012/ R=willchan TEST=network unit tests Review URL: http://codereview.chromium.org/8980015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115769 0039d316-1c4b-4281-b951-d872f2087c98
* net: fix crl_set_dump to print the delta-updated CRL.agl@chromium.org2011-12-221-1/+1
| | | | | | | | | | | | | | The original code was bugged and didn't use the CRL resulting from applying a delta-update. TBR=wtc BUG=none TEST=none Review URL: http://codereview.chromium.org/9018027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115529 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert most of net/http.jhawkins@chromium.org2011-12-201-10/+12
| | | | | | | | | | BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8990001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115220 0039d316-1c4b-4281-b951-d872f2087c98
* net: add a tool to dump CRL sets.agl@chromium.org2011-12-191-0/+74
| | | | | | | | | | | | | This tool is used in the build pipeline to verify that a candidate CRL set can be correctly parsed by the Chromium code. BUG=none TEST=none Review URL: http://codereview.chromium.org/8977001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115028 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert most of disk_cache.jhawkins@chromium.org2011-12-194-62/+57
| | | | | | | | | | BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8963030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115019 0039d316-1c4b-4281-b951-d872f2087c98
* Reland after fixes.jhawkins@chromium.org2011-12-171-10/+11
| | | | | | | | | | | | base::Bind: Remove even moar OldCompletionCallback. BUG=none TEST=none R=dpapad Review URL: http://codereview.chromium.org/8947024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114896 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 114838 - base::Bind: Remove even moar OldCompletionCallback.garykac@chromium.org2011-12-161-11/+10
| | | | | | | | | | | | | BUG=none TEST=none R=dpapad Review URL: http://codereview.chromium.org/8947024 TBR=jhawkins@chromium.org Review URL: http://codereview.chromium.org/8966031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114840 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Remove even moar OldCompletionCallback.jhawkins@chromium.org2011-12-161-10/+11
| | | | | | | | | | BUG=none TEST=none R=dpapad Review URL: http://codereview.chromium.org/8947024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114838 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Cleanup almost-unused OldCompletionCallbacks.jhawkins@chromium.org2011-12-151-3/+5
| | | | | | | | | | BUG=none TEST=none R=dpapad Review URL: http://codereview.chromium.org/8956014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114674 0039d316-1c4b-4281-b951-d872f2087c98
* Re-upload the machine ID during policy fetch if it's missing on the server side.mnissler@chromium.org2011-12-141-2/+23
| | | | | | | | | BUG=chromium-os:22092 TEST=Enroll a device with a bogus serial number. In the policy response, the server should request a serial number update, which should be uploaded after next ChromiumOS boot. Review URL: http://codereview.chromium.org/8933008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114413 0039d316-1c4b-4281-b951-d872f2087c98
* net: split the SSL session cache between incognito and normal.agl@chromium.org2011-12-121-3/+46
| | | | | | | | | | | | | This change causes incognito requests to effectively have a different SSL session cache from other requests. SSL session information will therefore not leak into or out of incognito mode. BUG=30877 TEST=net_unittests Review URL: http://codereview.chromium.org/8857002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114098 0039d316-1c4b-4281-b951-d872f2087c98
* Defer loading of audio/video tags while prerendering.shishir@chromium.org2011-12-091-3/+6
| | | | | | | | | | BUG=98690 TEST= Review URL: http://codereview.chromium.org/8095007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113742 0039d316-1c4b-4281-b951-d872f2087c98
* Removing MessageLoop::QuitTask() from net/dcheng@chromium.org2011-12-091-2/+2
| | | | | | | | | | | | base/task.h is going away and being replaced by base/bind.h and base/callback.h. This CL was automatically generated by sed. BUG=none TEST=none Review URL: http://codereview.chromium.org/8879031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113713 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
* 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
* 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
* Make SpdyFrame::size a constant instead of a static method so gcc can ↵thakis@chromium.org2011-12-042-6/+5
| | | | | | | | | | | | | | | | | | 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
* 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
* Disk cache: Add a hash to the entry's internal data.rvargas@google.com2011-11-301-1/+1
| | | | | | | | | | | | EntryStore and RankingsNode now have a new member that verifies that whatever we read from disk is what we wrote before. BUG=100125 TEST=none Review URL: http://codereview.chromium.org/8658001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112336 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Update the remove/insert data files.rvargas@google.com2011-11-291-17/+18
| | | | | | | | | | | | It's been 2 years and three months since the pointer member of RankingsNode was deprecated. These test files were saved before that. BUG=100125 TEST=none Review URL: http://codereview.chromium.org/8637022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111979 0039d316-1c4b-4281-b951-d872f2087c98
* Fix python scripts in src/netmaruel@chromium.org2011-11-277-7/+2
| | | | | | | | | | | | | | | | | | Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. TBR=akalin@chromium.org BUG=105108 TEST= Review URL: http://codereview.chromium.org/8669012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111662 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to net/.avi@chromium.org2011-11-2311-185/+210
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8648001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111366 0039d316-1c4b-4281-b951-d872f2087c98
* Fix backoff_server.py python scripts in src/netmaruel@chromium.org2011-11-231-114/+114
| | | | | | | | | | | | | | | | | | | | backoff_server.py wasn't using LF EOL so the CQ couldn't be used. Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. TBR=akalin@chromium.org BUG=105108 TEST= Review URL: http://codereview.chromium.org/8678013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111356 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to net/.avi@chromium.org2011-11-162-7/+7
| | | | | | | | BUG=104314 Review URL: http://codereview.chromium.org/8568021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110231 0039d316-1c4b-4281-b951-d872f2087c98
* Allow linker initialization of lazy instancejoth@chromium.org2011-11-151-1/+1
| | | | | | | | | | | | | | Using the initializer list construct = {0} allows the object to be linker initialized. Modify the LazyInstance class design to make it a pod aggregate type that can be linker initialized this way. Also combines the instance and state members, in line with the Singleton<> class design. Introduces a new LAZY_INSTANCE_INITIALIZER macro specifically for using to init all lazy instances + modify all existing callsites to use it. (Old code would no longer compile) BUG=94925 TEST=existing tests pass. http://build.chromium.org/f/chromium/perf/linux-release/sizes/report.html?history=150&header=chrome-si&graph=chrome-si&rev=-1 should step downward. TBR=jam@chromium.org,rvargas@chromium.org,darin@chromium.org,ben@chromium.org,apatrick@chromium.org,akalin@chromium.org Review URL: http://codereview.chromium.org/8491043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110076 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Remove logging/checks for case where server and local entries mismatch.zea@chromium.org2011-11-121-0/+7
| | | | | | | | | | | | | | We will now reliably hit this code due to the server changing the MTIME of any committed item. As a result of this, and because the check and log is expensive, it's better to just remove them altogether. BUG=103838 TEST=none Review URL: http://codereview.chromium.org/8526018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109761 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded forward declararations in net.thestig@chromium.org2011-11-111-8/+6
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8525020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109590 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build.thakis@chromium.org2011-11-091-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=binji Review URL: http://codereview.chromium.org/8511035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109331 0039d316-1c4b-4281-b951-d872f2087c98
* Support UTF8 in header values in webRequest API.battre@chromium.org2011-11-071-0/+25
| | | | | | | | | | | | | This support for UTF8 in header values is necessary to prevent DCHECKs and to ensure that extensions using the webRequest API don't modify headers unintentionally because the headers cannot be serialized correctly on the roundtrip between the network stack and the extension. BUG=none TEST=no Review URL: http://codereview.chromium.org/8480008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108879 0039d316-1c4b-4281-b951-d872f2087c98
* Update effective-TLD data files using the latest data from Mozilla.pam@chromium.org2011-11-021-5/+15
| | | | | | | | | | | | | | | | | | | | | Also expand and correct the README describing how to do this update. Due to bug 96086 (also see https://bugzilla.mozilla.org/show_bug.cgi?id=687165), entries in this list that are also known to be navigable complete URLs have been removed until a more complete solution has been put in place. This data file is Mozilla's changeset 76449:9411dffc948b, from 2011-09-02 14:08 -0400. It includes changes (some commented out) from the following Mozilla bugs: https://bugzilla.mozilla.org/show_bug.cgi?id=669792 https://bugzilla.mozilla.org/show_bug.cgi?id=531758 https://bugzilla.mozilla.org/show_bug.cgi?id=665521 BUG=37436, 96086 TEST=none Review URL: http://codereview.chromium.org/8341051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108298 0039d316-1c4b-4281-b951-d872f2087c98
* Don't convert HEAD requests to GETs on 303 redirects.mmenke@chromium.org2011-11-011-49/+59
| | | | | | | | | BUG=102130 TEST=URLRequestTestHTTP.Redirect*Tests Review URL: http://codereview.chromium.org/8418024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108060 0039d316-1c4b-4281-b951-d872f2087c98
* Separate the syncing of extension settings and app settings into separate datakalman@chromium.org2011-11-011-3/+9
| | | | | | | | | | | | | | | | | | types. This adds syncable::APP_SETTINGS on top of the existing syncable::EXTENSION_SETTINGS, and restructures code accordingly to accommodate. This is so they can each be synced independently, and eventually tied to their respective (EXTENSIONS or APPS) sync settings. BUG=98488 TEST=ExtensionSettings* Review URL: http://codereview.chromium.org/8375047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108055 0039d316-1c4b-4281-b951-d872f2087c98
* move to json, make work w/ a python2.6 that doesn't have simplejson installeddpranke@chromium.org2011-10-141-3/+7
| | | | | | | | | | R=jar@chromium.org, maruel@chromium.org BUG=none TEST=unit tests still pass Review URL: http://codereview.chromium.org/8253011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105425 0039d316-1c4b-4281-b951-d872f2087c98
* Switch FileStream to use new CompletionCallback.willchan@chromium.org2011-10-121-1/+1
| | | | | | | | | | BUG=98719 TEST=none Review URL: http://codereview.chromium.org/8139019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105042 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate HttpAlternateProtocols to HttpServerPropertiesImpl.willchan@chromium.org2011-10-101-0/+3
| | | | | | | | | | | | | Hooks in HttpServerPropertiesManager also. No persistence done yet. This is all plumbing. Also require HttpServerProperties in HttpNetworkSession::Params. BUG=98472 TEST=none Review URL: http://codereview.chromium.org/8211003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104696 0039d316-1c4b-4281-b951-d872f2087c98
* Add App Notifications as a type in the Python Sync Test Serverelvin@google.com2011-10-061-1/+6
| | | | | | Review URL: http://codereview.chromium.org/8124018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104370 0039d316-1c4b-4281-b951-d872f2087c98
* Added a pyauto test for policy and preferences UI.joaodasilva@chromium.org2011-10-041-1/+1
| | | | | | | | | | | | This test verifies that preferences controlled by policy display the "managed by admin" banner on chrome://settings pages. BUG=None, but found a lot of other bugs! TEST=None Review URL: http://codereview.chromium.org/8021005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103876 0039d316-1c4b-4281-b951-d872f2087c98
* Begin CompletionCallback switchover.willchan@chromium.org2011-10-015-23/+23
| | | | | | | | | | | | | Rename CompletionCallback to OldCompletionCallback in preparation for introducing a new CompletionCallback based on base::Callback. Also renames other CompletionCallback types like CancelableCompletionCallback and TestCompletionCallback and CompletionCallbackImpl. All using sed with s/CompletionCallback/OldCompletionCallback/g. BUG=98719 TEST=none Review URL: http://codereview.chromium.org/8070013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103650 0039d316-1c4b-4281-b951-d872f2087c98
* Recover from bad proxy settings pointing to non-proxy servers that reply anyway.joaodasilva@chromium.org2011-09-281-0/+2
| | | | | | | | | | | | Added tests for proxy error recovery. BUG=chromium-os:20775 TEST=DeviceManagementServiceTest.*. Steps described in the bug now work as expected. Review URL: http://codereview.chromium.org/8054013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103172 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crash when loading a multipart html page.tony@chromium.org2011-09-271-1/+30
| | | | | | | | | | | | | When loading a multipart page, the load hasn't been committed yet so dataSource() is NULL. In that case, use the provisionalDataSource(). BUG=97592 TEST=covered by browser_tests Review URL: http://codereview.chromium.org/8044003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103027 0039d316-1c4b-4281-b951-d872f2087c98
* Updated spdy_framer.cc with the latest code. Code for PINGrtenneti@chromium.org2011-09-262-1/+16
| | | | | | | | | | was added. TEST=spdy unit testsR=willchan Review URL: http://codereview.chromium.org/8036016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102707 0039d316-1c4b-4281-b951-d872f2087c98
* Sending auth error from python server. After posting a request to the ↵lipalani@chromium.org2011-09-231-3/+44
| | | | | | | | | | | | /chromiumsync/cred url with the parameter valid=false the server starts sending auth errors repeatedly . To stop the auth errors we have to navigate to the same url with valid=True. BUG= TEST= Review URL: http://codereview.chromium.org/7978043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102417 0039d316-1c4b-4281-b951-d872f2087c98