Index: media/base/mock_filters.cc |
diff --git a/media/base/mock_filters.cc b/media/base/mock_filters.cc |
index 7b854fccd0d5a605f94a439f4568f14169861627..f2110ffa36da014d3cd2e9b562c3077ab1e5897a 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 |