From 5db27db7e09cf3f72c68a8ca668b96177c97101f Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Tue, 19 Oct 2010 20:28:03 +0000 Subject: 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 --- base/base.gypi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'base/base.gypi') 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', -- cgit v1.1