|
|
Modify ThreadChecker and NonThreadSafe so that their
functionality is available in release builds if explicitly
requested by using their Impl types. The default usage remains
that they do nothing in release mode.
Also, update unit tests to run in release mode, verifying that the release versions of NonThreadSafe and ThreadChecker do nothing in release builds.
BUG=none
TEST=base unit tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=76833
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+265 lines, -219 lines) |
Patch |
 |
M |
base/base.gypi
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
base/threading/non_thread_safe.h
|
View
|
1
2
3
4
5
|
2 chunks |
+22 lines, -29 lines |
0 comments
|
Download
|
 |
D |
base/threading/non_thread_safe.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -28 lines |
0 comments
|
Download
|
 |
A |
base/threading/non_thread_safe_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A |
base/threading/non_thread_safe_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/threading/non_thread_safe_unittest.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+45 lines, -24 lines |
0 comments
|
Download
|
 |
M |
base/threading/thread_checker.h
|
View
|
1
2
3
4
5
|
2 chunks |
+23 lines, -37 lines |
0 comments
|
Download
|
 |
A |
base/threading/thread_checker_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
base/threading/thread_checker_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+8 lines, -12 lines |
0 comments
|
Download
|
 |
M |
base/threading/thread_checker_unittest.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+49 lines, -28 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_throttler_manager.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -27 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_throttler_manager.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -32 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|