summaryrefslogtreecommitdiffstats
path: root/base/base.gypi
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-19 20:28:03 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-19 20:28:03 +0000
commit5db27db7e09cf3f72c68a8ca668b96177c97101f (patch)
tree3cfcb4c2c3fdf7543564e94603f33d640167d25e /base/base.gypi
parentfe23e9a748e6a1849f22d3d0add4502a3a41604f (diff)
downloadchromium_src-5db27db7e09cf3f72c68a8ca668b96177c97101f.zip
chromium_src-5db27db7e09cf3f72c68a8ca668b96177c97101f.tar.gz
chromium_src-5db27db7e09cf3f72c68a8ca668b96177c97101f.tar.bz2
base: add a thread-safety assertion checker
ThreadAssertions lets us assert that the current thread is allowed to make blocking calls. See the header for more background. This change implements ThreadAssertions but doesn't turn it on for any of Chrome. BUG=59575 Review URL: http://codereview.chromium.org/3824006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63091 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gypi')
-rw-r--r--base/base.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/base.gypi b/base/base.gypi
index 2adb528..7280eb8 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -460,6 +460,8 @@
'sync_socket.h',
'sync_socket_win.cc',
'sync_socket_posix.cc',
+ 'thread_restrictions.h',
+ 'thread_restrictions.cc',
'time_mac.cc',
'time_posix.cc',
'version.cc',