diff options
author | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-04 18:14:28 +0000 |
---|---|---|
committer | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-04 18:14:28 +0000 |
commit | 329be0548058bf398a8bd87a425fe79372f1740e (patch) | |
tree | 80f84baa721700a4f4e0e4727697120584cbb38d /base/vlog_unittest.cc | |
parent | b02d89c3004cffd1e8a31432520f1ea97a6bc58e (diff) | |
download | chromium_src-329be0548058bf398a8bd87a425fe79372f1740e.zip chromium_src-329be0548058bf398a8bd87a425fe79372f1740e.tar.gz chromium_src-329be0548058bf398a8bd87a425fe79372f1740e.tar.bz2 |
Refactor: Simplify WaitableEventWatcher.
This change uses a callback instead of a delegate for specifying what
should be called when a WaitableEvent occurs.
This simplifies the class and gets rid of a workaround internal to the
class to prevent name collision on "Delegate" inner classes.
Tested (linux and windows):
out/Debug/base_unittests --gtest_filter=*WaitableEventWatcherTest*
out/Release/ipc_tests with valgrind and leak-check=yes
Previously reverted at:
https://codereview.chromium.org/12087120/
BUG=
Review URL: https://chromiumcodereview.appspot.com/12094106
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180450 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/vlog_unittest.cc')
0 files changed, 0 insertions, 0 deletions