|
Modify WaitableEvent::Wait() to return void
Currently, WaitableEvent::Wait() returns bool. However, the Windows
implementation DCHECKs that the return value is true and the POSIX
implementation can never return false. Also, all call sites that use the return
value simply DCHECK that it's true.
This change modifies the method to return void, adds a DCHECK in the POSIX
implementation and updates call sites.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104990
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+43 lines, -52 lines) |
Patch |
|
M |
base/synchronization/waitable_event.h
|
View
|
1
2
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
base/synchronization/waitable_event_posix.cc
|
View
|
1
2
|
3 chunks |
+16 lines, -15 lines |
0 comments
|
Download
|
|
M |
base/synchronization/waitable_event_unittest.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
base/synchronization/waitable_event_win.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
base/threading/worker_pool_posix_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
base/threading/worker_pool_unittest.cc
|
View
|
1
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/test_extension_prefs.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/net/cookie_policy_browsertest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/plugin_data_remover.cc
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/process_singleton_uitest.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/glue/http_bridge.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/service/gaia/service_gaia_authenticator.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/in_process_webkit/indexed_db_key_utility_client.cc
|
View
|
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
net/base/keygen_handler_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
webkit/tools/test_shell/simple_resource_loader_bridge.cc
|
View
|
1
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|