diff options
author | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-13 16:19:23 +0000 |
---|---|---|
committer | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-13 16:19:23 +0000 |
commit | b4339c3a96db2efe2bcbf61efbcfcdc2d80e2b84 (patch) | |
tree | ea47239cb6ce133a46de57077ef4abb0d6ef2024 /base/base.gyp | |
parent | 4672de6247fe7a865b2abeaac1b4a76c9369b7a3 (diff) | |
download | chromium_src-b4339c3a96db2efe2bcbf61efbcfcdc2d80e2b84.zip chromium_src-b4339c3a96db2efe2bcbf61efbcfcdc2d80e2b84.tar.gz chromium_src-b4339c3a96db2efe2bcbf61efbcfcdc2d80e2b84.tar.bz2 |
Add thread check to WatchFileDescriptor.
I had a case where I was accidentally calling WatchFileDescriptor from another
thread, and it took me a while to debug why I was having problems.
This check would've immediately caught my error for me.
BUG=none
TEST=build
Review URL: http://codereview.chromium.org/6410035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85271 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gyp')
-rw-r--r-- | base/base.gyp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/base.gyp b/base/base.gyp index 0e3c72d..8514894 100644 --- a/base/base.gyp +++ b/base/base.gyp @@ -154,6 +154,7 @@ 'message_loop_proxy_impl_unittest.cc', 'message_loop_unittest.cc', 'message_pump_glib_unittest.cc', + 'message_pump_libevent_unittest.cc', 'metrics/field_trial_unittest.cc', 'metrics/histogram_unittest.cc', 'metrics/stats_table_unittest.cc', @@ -275,6 +276,7 @@ 'dir_reader_posix_unittest.cc', 'file_descriptor_shuffle_unittest.cc', 'threading/worker_pool_posix_unittest.cc', + 'message_pump_libevent_unittest.cc', ], }, { # OS != "win" 'sources/': [ |