summaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* Fix hammer build. Bustage resulted from renaming some files.darin@google.com2008-08-111-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@653 0039d316-1c4b-4281-b951-d872f2087c98
* Rename HttpProxy* classes to Proxy*. Move them into a net/proxy/ subdirectory.darin@google.com2008-08-1118-276/+278
| | | | | | I'm making this change because proxy resolution is really not specific to the HTTP protocol. We need to use the proxy service in our FTP implementation, for example. I made a separate directory instead of just putting these in base, because I anticipate more files once we have our own PAC implementation. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@651 0039d316-1c4b-4281-b951-d872f2087c98
* Add a stubbed-out platform_mime_util_mac.mmericroman@google.com2008-08-104-5/+61
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@636 0039d316-1c4b-4281-b951-d872f2087c98
* rollback r526 to fix performance regressiondarin@google.com2008-08-092-10/+11
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@632 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor mime_util into a singleton.ericroman@google.com2008-08-095-55/+175
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@626 0039d316-1c4b-4281-b951-d872f2087c98
* Add deps files and rules for the checkdeps script.brettw@google.com2008-08-081-0/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@600 0039d316-1c4b-4281-b951-d872f2087c98
* Extend disk cache unit tests to include reuse of internal entries.rvargas@google.com2008-08-081-11/+27
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@591 0039d316-1c4b-4281-b951-d872f2087c98
* Stop using SHFileOperation from the disk cache code.rvargas@google.com2008-08-081-10/+16
| | | | | | | | | | | Using SHFileOperation to delete old cache files has the disadvantage that once in a while somebody decides to perform COM operations assuming STA, and that doesn't work with the worker pool. BUG=1314744 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@590 0039d316-1c4b-4281-b951-d872f2087c98
* Break out windows specific parts of mime_util.cc into mime_util_win.ccericroman@google.com2008-08-084-17/+70
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@582 0039d316-1c4b-4281-b951-d872f2087c98
* Change the UrlRequestJob base class to be thread safe because the sub class ↵nsylvain@google.com2008-08-081-1/+4
| | | | | | UrlRequestFileJob can be deleted on multiple threads. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@563 0039d316-1c4b-4281-b951-d872f2087c98
* Rollback r517 to retry with ObjectWatcher. This change did not appear to bedarin@google.com2008-08-072-11/+10
| | | | | | | | | the cause of the page cycler regression. TBR=jar git-svn-id: svn://svn.chromium.org/chrome/trunk/src@526 0039d316-1c4b-4281-b951-d872f2087c98
* Rollback changes made to URLRequestFileJob to use ObjectWatcher instead ofdarin@google.com2008-08-072-10/+11
| | | | | | | | | | ML::WatchObject. This is a test to confirm that the change caused a perf regression on single core machines. TBR=jar git-svn-id: svn://svn.chromium.org/chrome/trunk/src@517 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the old NativeMB functions from string util, and use the new ones in ↵brettw@google.com2008-08-072-5/+8
| | | | | | sys_strings.h. I also removed duplicated code from the sandbox that can now use this, and fixed one case in the bug reporter that should not have been using the native multibyte encoding. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@515 0039d316-1c4b-4281-b951-d872f2087c98
* Remove an unused include of deprecated atomic.h. Replace a custom singleton ↵deanm@google.com2008-08-073-15/+10
| | | | | | implementation with use of Singleton. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@507 0039d316-1c4b-4281-b951-d872f2087c98
* SCons: handle new net/base/client_socket_*.cc files.sgk@google.com2008-08-071-3/+3
| | | | | | TBR: darin git-svn-id: svn://svn.chromium.org/chrome/trunk/src@476 0039d316-1c4b-4281-b951-d872f2087c98
* fix bustage... F**Kdarin@google.com2008-08-071-3/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@472 0039d316-1c4b-4281-b951-d872f2087c98
* Rename HttpConnection to ClientSocketHandle, and rename ↵darin@google.com2008-08-0610-209/+231
| | | | | | | | | | HttpConnectionManager to ClientSocketPool. The max number of sockets per group is now a constructor argument to ClientSocketPool. I also changed the API on the pool to take ClientSocketHandle pointers. The former SocketHandle typedef is now a private ClientSocketPtr typedef for use within the implementation of ClientSocketPool. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@471 0039d316-1c4b-4281-b951-d872f2087c98
* Merge some changes in net/base from branches/mac_july_2008 to trunk.ericroman@google.com2008-08-067-15/+13
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@420 0039d316-1c4b-4281-b951-d872f2087c98
* Make some changes from my code review. Two significantwtc@google.com2008-08-056-33/+64
| | | | | | | | | | | | | changes are: 1. Call WSAEventSelect before connect to fix a race condition. 2. Call WSAResetEvent before WSARecv and WSASend because the event is manual-reset and WSAGetOverlappedResult doesn't reset the event for us. R=darin git-svn-id: svn://svn.chromium.org/chrome/trunk/src@406 0039d316-1c4b-4281-b951-d872f2087c98
* Miscellaneous changes from my code review.wtc@google.com2008-08-054-127/+150
| | | | | | R=darin,nsylvain git-svn-id: svn://svn.chromium.org/chrome/trunk/src@404 0039d316-1c4b-4281-b951-d872f2087c98
* Miscellaneous changes (mostly cleanup) from my code review.wtc@google.com2008-08-058-61/+90
| | | | | | R=darin@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@354 0039d316-1c4b-4281-b951-d872f2087c98
* Fix header include guards.darin@google.com2008-08-0414-43/+43
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@344 0039d316-1c4b-4281-b951-d872f2087c98
* Use base::ObjectWatcher instead of MessageLoop::WatchObject for some ↵darin@google.com2008-08-048-52/+47
| | | | | | consumers in the net module. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@335 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in the rest of the .lib changes, previous commit was only done from ↵sgk@google.com2008-08-042-24/+25
| | | | | | | | | chrome/ and only got those SConscript files. R=evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@331 0039d316-1c4b-4281-b951-d872f2087c98
* was originally reviewed by jar as part of revision 322, but i mistakenly ↵darin@google.com2008-08-042-8/+9
| | | | | | didn't commit it along with that revision git-svn-id: svn://svn.chromium.org/chrome/trunk/src@328 0039d316-1c4b-4281-b951-d872f2087c98
* Pull the block of common Windows system libraries that we link with ↵sgk@google.com2008-08-042-43/+0
| | | | | | | | everywhere into the base Windows environment. TBR: evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@310 0039d316-1c4b-4281-b951-d872f2087c98
* Convert submodules SConscript files to psuedo-builder calls.sgk@google.com2008-08-032-23/+7
| | | | | | | | TBR: evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@304 0039d316-1c4b-4281-b951-d872f2087c98
* If a disk cache entry is stored as an external file, and it is reused ↵rvargas@google.com2008-08-02128-2/+43
| | | | | | | | | (open/truncate/write/close), the current cache size should be modified accordingly. I'm also bumping up the version number for the cache files, to force re-creation with this revision. BUG=1305909 TEST=Unit test. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291 0039d316-1c4b-4281-b951-d872f2087c98
* Update xcodeprojsmmentovai@google.com2008-08-011-0/+478
| | | | | | Review URL: http://chrome-reviews.prom.corp.google.com/996 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256 0039d316-1c4b-4281-b951-d872f2087c98
* Update TLD data, incorporating recent changes from Mozilla as well as morepamg@google.com2008-08-011-48/+1137
| | | | | | | | | | | | | | | updates. The additional information included here has also been submitted to Mozilla at https://bugzilla.mozilla.org/show_bug.cgi?id=447815. This was reviewed in the old repository as pamg/tld-info. R=pkasting BUG=1277961, 1283371 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254 0039d316-1c4b-4281-b951-d872f2087c98
* Forward declare GURL in cookie_policy.deanm@google.com2008-08-013-2/+6
| | | | | | TBR=maruel git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup some old unused code from the cookie monster unittest.deanm@google.com2008-08-011-19/+0
| | | | | | TBR=maruel git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237 0039d316-1c4b-4281-b951-d872f2087c98
* tld_cleanup's main() needs the new base::AtExitManager too, so DCHECKs don't ↵sgk@google.com2008-08-011-0/+4
| | | | | | | | fail when we execute it during the build. TBR=cpu git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233 0039d316-1c4b-4281-b951-d872f2087c98
* Change the order of functions on the cc file to follow the order of the ↵rvargas@google.com2008-07-313-726/+735
| | | | | | header. No actual code change. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200 0039d316-1c4b-4281-b951-d872f2087c98
* Move more net classes into the net namespace. Also remove the net_util ↵darin@google.com2008-07-3130-195/+244
| | | | | | | | namespace in favor of the net namespace. This is a purely mechanical change. There should be no logic changes. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary use of atomic operations. Getting the pid on windows is ↵deanm@google.com2008-07-311-6/+1
| | | | | | very fast (just a fetch from the PEB). If this turns out to be expensive on other platforms, we might want to add caching methods to process_util. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178 0039d316-1c4b-4281-b951-d872f2087c98
* Initial cleanups en route to coalescing the get-it-built cut-and-paste from ↵sgk@google.com2008-07-312-12/+2
| | | | | | | | | | | | | | | | | | various SConscripts into readable and maintainable shape. To wit: * Put the near-universal settings of /DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS, /DWIN32_LEAN_AND_MEAN, /wd4503 and /wd4819 in the base construction environment. * Sort various unsorted source file lists. * Fix indentation and quoting for consistency in a couple SConscript files that escaped previous dragnets. * Eliminate two left-over uses of Split() for input file lists. * Give the devenv invocation to build v8_shell.exe the full path to the relevant .vcproj file. * Add /nologo to the base LINKFLAGS setting. * Remove various CPPPATH and other settings that have been hanging around commented out from the Visual Studio build (in case we needed them, which we evidently don't). * Get rid of unnecessary env.File() and env.Dir() calls in various settings (esp. CPPPATH) and source file lists. * Add copyright notice to an overlooked SConscript file. * Clean up version.bat invocation. TBR: bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174 0039d316-1c4b-4281-b951-d872f2087c98
* I looked at the full dump from the previous crashes and it looks like a ↵brettw@google.com2008-07-306-28/+86
| | | | | | testing issue. Hopefully it will be magically unbroken. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leak when simulating failures in unit tests.rvargas@google.com2008-07-301-1/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit tests to the disk cache to verify that a failure during cache ↵rvargas@google.com2008-07-304-39/+86
| | | | | | reinitialization is handled properly. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137 0039d316-1c4b-4281-b951-d872f2087c98
* Update SCons build for recent changes:sgk@google.com2008-07-301-1/+1
| | | | | | | | | | Delete chrome_frame.cc, add frame_util.cc. url_request_http_cache_job.cc => url_request_http_job.cc. Rename sandbox *tests.exe to sbox_*.exe per upstream. Define ENABLE_CROSS_DOCUMENT_MESSAGING when generating V8 bindings. TBR: bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135 0039d316-1c4b-4281-b951-d872f2087c98
* Change the proxy failover to be less aggressive. We now clear the list of ↵nsylvain@google.com2008-07-302-22/+140
| | | | | | bad proxies when we get a new configuration or when a direct connection fails and we try again to get the pac. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134 0039d316-1c4b-4281-b951-d872f2087c98
* further adjust test results to match the new realitydarin@google.com2008-07-301-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129 0039d316-1c4b-4281-b951-d872f2087c98
* Replace scoped_ptr with scoped_array.rvargas@google.com2008-07-302-2/+2
| | | | | | BUG=1291138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125 0039d316-1c4b-4281-b951-d872f2087c98
* DirectoryListing is now in the net namespace.darin@google.com2008-07-301-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122 0039d316-1c4b-4281-b951-d872f2087c98
* Document that the callback parameter ofwtc@google.com2008-07-303-23/+35
| | | | | | | | | | | | HostResolver::Resolve can be null. In tcp_client_socket_unittest.cc, allow sock.Connect to succeed synchronously. Break out of the infinite loop if sock.Read fails. R=darin git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120 0039d316-1c4b-4281-b951-d872f2087c98
* Rename URLRequestHttpCacheJob to URLRequestHttpJob.darin@google.com2008-07-304-60/+59
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118 0039d316-1c4b-4281-b951-d872f2087c98
* Move some more classes from net/base into the net:: namespace.darin@google.com2008-07-3040-132/+173
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116 0039d316-1c4b-4281-b951-d872f2087c98
* A more portable HostResolver implementation.darin@google.com2008-07-302-63/+101
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108 0039d316-1c4b-4281-b951-d872f2087c98
* Do not use RecycleOrDelete since it is not ready for prime-time.darin@google.com2008-07-301-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100 0039d316-1c4b-4281-b951-d872f2087c98