summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-24 14:28:46 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-24 14:28:46 +0000
commit0f43a8f1c138bd8d850a606ff028df8f6c30ba31 (patch)
tree5c82ffb86cbf1e3356d0b39e8cebbb410b5fe63d /chrome/browser/net
parentd0ef30f4636680ba1ca213d72bb13540fb5ce7f2 (diff)
downloadchromium_src-0f43a8f1c138bd8d850a606ff028df8f6c30ba31.zip
chromium_src-0f43a8f1c138bd8d850a606ff028df8f6c30ba31.tar.gz
chromium_src-0f43a8f1c138bd8d850a606ff028df8f6c30ba31.tar.bz2
Porting of unit tests in chrome/
- enable following tests on Linux: browser/net/resolve_proxy_msg_helper_unittest.cc browser/profile_manager_unittest.cc browser/sessions/tab_restore_service_unittest.cc common/time_format_unittest.cc - sync chrome.gyp - fix a bug in resolve_proxy_msg_helper_unittest that triggered a DCHECK on POSIX. It freed the WaitableEvent too early because Wait in dtor was effectively a noop because the event was already in signaled state from previous operations and a manual-reset flag was set. The fix was to put the WaitableEvent in automatic reset mode. - misc GCC-related cleanups http://crbug.com/9227 Review URL: http://codereview.chromium.org/53007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12356 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net')
-rw-r--r--chrome/browser/net/resolve_proxy_msg_helper_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/net/resolve_proxy_msg_helper_unittest.cc b/chrome/browser/net/resolve_proxy_msg_helper_unittest.cc
index efc53b7c..d33a03b 100644
--- a/chrome/browser/net/resolve_proxy_msg_helper_unittest.cc
+++ b/chrome/browser/net/resolve_proxy_msg_helper_unittest.cc
@@ -134,7 +134,7 @@ class AsyncRequestRunner : public ResolveProxyMsgHelper::Delegate {
// io thread.
class RunnerBridge {
public:
- RunnerBridge() : io_thread_("io_thread"), done_(true, false) {
+ RunnerBridge() : io_thread_("io_thread"), done_(false, false) {
// Start an io thread where we will run the async requests.
base::Thread::Options options;
options.message_loop_type = MessageLoop::TYPE_IO;