diff options
Diffstat (limited to 'base/synchronization')
-rw-r--r-- | base/synchronization/waitable_event_watcher.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/base/synchronization/waitable_event_watcher.h b/base/synchronization/waitable_event_watcher.h index 1512acc..7e1698b 100644 --- a/base/synchronization/waitable_event_watcher.h +++ b/base/synchronization/waitable_event_watcher.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -72,8 +72,6 @@ class BASE_EXPORT WaitableEventWatcher class BASE_EXPORT Delegate { public: - virtual ~Delegate() { } - // ------------------------------------------------------------------------- // This is called on the MessageLoop thread when WaitableEvent has been // signaled. @@ -83,6 +81,9 @@ class BASE_EXPORT WaitableEventWatcher // the past. // ------------------------------------------------------------------------- virtual void OnWaitableEventSignaled(WaitableEvent* waitable_event) = 0; + + protected: + virtual ~Delegate() { } }; // --------------------------------------------------------------------------- |