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

Unified Diff: cc/test/fake_video_frame_provider.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « cc/test/fake_ui_resource_layer_tree_host_impl.cc ('k') | cc/test/fake_video_frame_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_video_frame_provider.h
diff --git a/cc/test/fake_video_frame_provider.h b/cc/test/fake_video_frame_provider.h
deleted file mode 100644
index 50b6b2777df195bf18e56653b87a5b4886048b55..0000000000000000000000000000000000000000
--- a/cc/test/fake_video_frame_provider.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 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.
-
-#ifndef CC_TEST_FAKE_VIDEO_FRAME_PROVIDER_H_
-#define CC_TEST_FAKE_VIDEO_FRAME_PROVIDER_H_
-
-#include "cc/layers/video_frame_provider.h"
-#include "media/base/video_frame.h"
-
-namespace cc {
-
-// Fake video frame provider that always provides the same VideoFrame.
-class FakeVideoFrameProvider : public VideoFrameProvider {
- public:
- FakeVideoFrameProvider();
- ~FakeVideoFrameProvider() override;
-
- void SetVideoFrameProviderClient(Client* client) override;
- scoped_refptr<media::VideoFrame> GetCurrentFrame() override;
- void PutCurrentFrame(const scoped_refptr<media::VideoFrame>&) override {}
-
- Client* client() { return client_; }
-
- void set_frame(const scoped_refptr<media::VideoFrame>& frame) {
- frame_ = frame;
- }
-
- private:
- scoped_refptr<media::VideoFrame> frame_;
- Client* client_;
-};
-
-} // namespace cc
-
-#endif // CC_TEST_FAKE_VIDEO_FRAME_PROVIDER_H_
« no previous file with comments | « cc/test/fake_ui_resource_layer_tree_host_impl.cc ('k') | cc/test/fake_video_frame_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698