summaryrefslogtreecommitdiffstats
path: root/media/base/mock_filters.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/base/mock_filters.cc')
-rw-r--r--media/base/mock_filters.cc11
1 files changed, 8 insertions, 3 deletions
diff --git a/media/base/mock_filters.cc b/media/base/mock_filters.cc
index 7b854fc..f2110ff 100644
--- a/media/base/mock_filters.cc
+++ b/media/base/mock_filters.cc
@@ -1,6 +1,6 @@
-// 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.
+// Copyright (c) 2010 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.
#include "media/base/mock_filters.h"
@@ -15,4 +15,9 @@ void DestroyFilterCallback(::testing::Unused, FilterCallback* callback) {
delete callback;
}
+void RunStopFilterCallback(FilterCallback* callback) {
+ callback->Run();
+ delete callback;
+}
+
} // namespace media