Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(994)

Unified Diff: mojo/edk/util/waitable_event.h

Issue 1435043002: EDK: Sprinkle some more |final| secret sauce. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/edk/util/ref_ptr_internal.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/util/waitable_event.h
diff --git a/mojo/edk/util/waitable_event.h b/mojo/edk/util/waitable_event.h
index be64a66e720d6b4a6d8bcd2527e26068a9484954..f12b9c1e4f4f0324532b9ba5ceaf45076a36ba6d 100644
--- a/mojo/edk/util/waitable_event.h
+++ b/mojo/edk/util/waitable_event.h
@@ -25,7 +25,7 @@ namespace util {
// to Windows's auto-reset Event, which is also imitated by Chromium's
// auto-reset |base::WaitableEvent|. However, there are some limitations -- see
// |Signal()|.) This class is thread-safe.
-class AutoResetWaitableEvent {
+class AutoResetWaitableEvent final {
public:
AutoResetWaitableEvent() {}
~AutoResetWaitableEvent() {}
@@ -77,7 +77,7 @@ class AutoResetWaitableEvent {
// until explicitly reset. (This is similar to Windows's manual-reset Event,
// which is also imitated by Chromium's manual-reset |base::WaitableEvent|.)
// This class is thread-safe.
-class ManualResetWaitableEvent {
+class ManualResetWaitableEvent final {
public:
ManualResetWaitableEvent() {}
~ManualResetWaitableEvent() {}
« no previous file with comments | « mojo/edk/util/ref_ptr_internal.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698