summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipc_logging.h')
-rw-r--r--ipc/ipc_logging.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ipc/ipc_logging.h b/ipc/ipc_logging.h
index 364ad79..7bbf18c 100644
--- a/ipc/ipc_logging.h
+++ b/ipc/ipc_logging.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 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.
@@ -30,6 +30,8 @@ class Logging : public base::WaitableEventWatcher::Delegate,
class Consumer {
public:
virtual void Log(const LogData& data) = 0;
+ protected:
+ ~Consumer() {}
};
void SetConsumer(Consumer* consumer);