0
Commit Graph

22 Commits

Author SHA1 Message Date
f18953d3c2 Remove unnecessary use of atomic operations. Getting the pid on windows is 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
2008-07-31 13:58:48 +00:00
55329d53c0 Initial cleanups en route to coalescing the get-it-built cut-and-paste from 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
2008-07-31 07:25:19 +00:00
f20dac42c3 I looked at the full dump from the previous crashes and it looks like a testing issue. Hopefully it will be magically unbroken.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151 0039d316-1c4b-4281-b951-d872f2087c98
2008-07-30 23:50:22 +00:00
b6eea42d4b Fix memory leak when simulating failures in unit tests.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146 0039d316-1c4b-4281-b951-d872f2087c98
2008-07-30 23:24:04 +00:00
a9da16d0e7 Add unit tests to the disk cache to verify that a failure during cache reinitialization is handled properly.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137 0039d316-1c4b-4281-b951-d872f2087c98
2008-07-30 21:41:54 +00:00
aa3c83bfad Update SCons build for recent changes:
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
2008-07-30 20:21:24 +00:00
622ef2bb6d Change the proxy failover to be less aggressive. We now clear the list of 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
2008-07-30 20:19:33 +00:00
4aed32afe2 further adjust test results to match the new reality
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129 0039d316-1c4b-4281-b951-d872f2087c98
2008-07-30 18:51:04 +00:00
dc4e78acfa Replace scoped_ptr with scoped_array.
BUG=1291138

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125 0039d316-1c4b-4281-b951-d872f2087c98
2008-07-30 18:20:14 +00:00
16985a1ac1 DirectoryListing is now in the net namespace.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122 0039d316-1c4b-4281-b951-d872f2087c98
2008-07-30 17:50:21 +00:00
085ae96014 Document that the callback parameter of
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
2008-07-30 17:32:12 +00:00
175adac8a0 Rename URLRequestHttpCacheJob to URLRequestHttpJob.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118 0039d316-1c4b-4281-b951-d872f2087c98
2008-07-30 17:28:04 +00:00
a9bb6f69b3 Move some more classes from net/base into the net:: namespace.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116 0039d316-1c4b-4281-b951-d872f2087c98
2008-07-30 16:40:10 +00:00
3db1536436 A more portable HostResolver implementation.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108 0039d316-1c4b-4281-b951-d872f2087c98
2008-07-30 05:58:32 +00:00
43a973aeb0 Do not use RecycleOrDelete since it is not ready for prime-time.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100 0039d316-1c4b-4281-b951-d872f2087c98
2008-07-30 04:38:38 +00:00
e436beba7f Fix signature for a known FIM purify warning.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98 0039d316-1c4b-4281-b951-d872f2087c98
2008-07-30 04:26:54 +00:00
7523f124f2 I submitted this code by mistake in my previous revert.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72 0039d316-1c4b-4281-b951-d872f2087c98
2008-07-29 21:11:47 +00:00
6be5dd4086 Reverting revision 70, 66 and 65 to fix crashes.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71 0039d316-1c4b-4281-b951-d872f2087c98
2008-07-29 20:57:35 +00:00
a9c217fc61 Puts back the optional unescaping of control characters and URL parse-affecting characters. That patch was reverted due to build problems.
This is heavily modified from the original patch. That patch required an additional function and a bunch of internal boolean flags. This one uses the new flags enum I wrote to add this to the existing functionality more cleanly.

BUG=1271340
BUG=1258819
Review URL: http://chrome-reviews.prom.corp.google.com/804

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66 0039d316-1c4b-4281-b951-d872f2087c98
2008-07-29 16:36:36 +00:00
1b66f31cbe Create a constructor to construct an AddressList::Data
object with a struct addrinfo*.

Fix the comment for the port parameter of
HostResolver::Resolve.

Make some changes suggested by cpplint.

R=darin

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50 0039d316-1c4b-4281-b951-d872f2087c98
2008-07-28 23:45:23 +00:00
0bf766b902 Update signature for a known purify FIM warning.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24 0039d316-1c4b-4281-b951-d872f2087c98
2008-07-27 16:05:31 +00:00
586acc5fe1 Add net to the repository.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14 0039d316-1c4b-4281-b951-d872f2087c98
2008-07-26 22:42:52 +00:00