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

Unified Diff: media/base/mock_filter_host.h

Issue 10796074: Move VideoRenderer out of Filter heirarchy. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: GetMediaTime Created 8 years, 5 months 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 | « media/base/filters.cc ('k') | media/base/mock_filter_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/mock_filter_host.h
diff --git a/media/base/mock_filter_host.h b/media/base/mock_filter_host.h
deleted file mode 100644
index 911c4c5e01329932acea29d57cb714fd3cdad04e..0000000000000000000000000000000000000000
--- a/media/base/mock_filter_host.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// 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.
-//
-// A FilterHost implementation based on gmock. Combined with setting a message
-// loop on a filter, permits single-threaded testing of filters without
-// requiring a pipeline.
-
-#ifndef MEDIA_BASE_MOCK_FILTER_HOST_H_
-#define MEDIA_BASE_MOCK_FILTER_HOST_H_
-
-#include <string>
-
-#include "media/base/filter_host.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace media {
-
-class MockFilterHost : public FilterHost {
- public:
- MockFilterHost();
- virtual ~MockFilterHost();
-
- // FilterHost implementation.
- MOCK_METHOD0(InitializationComplete, void());
- MOCK_METHOD1(SetError, void(PipelineStatus error));
- MOCK_CONST_METHOD0(GetDuration, base::TimeDelta());
- MOCK_CONST_METHOD0(GetTime, base::TimeDelta());
- MOCK_METHOD1(SetNaturalVideoSize, void(const gfx::Size& size));
- MOCK_METHOD0(NotifyEnded, void());
- MOCK_METHOD0(DisableAudioRenderer, void());
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MockFilterHost);
-};
-
-} // namespace media
-
-#endif // MEDIA_BASE_MOCK_FILTER_HOST_H_
« no previous file with comments | « media/base/filters.cc ('k') | media/base/mock_filter_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698