OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef REMOTING_TEST_TEST_VIDEO_RENDERER_H_ | 5 #ifndef REMOTING_TEST_TEST_VIDEO_RENDERER_H_ |
6 #define REMOTING_TEST_TEST_VIDEO_RENDERER_H_ | 6 #define REMOTING_TEST_TEST_VIDEO_RENDERER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
10 #include "base/threading/thread_checker.h" | 11 #include "base/threading/thread_checker.h" |
11 #include "remoting/client/video_renderer.h" | 12 #include "remoting/client/video_renderer.h" |
12 #include "remoting/protocol/session_config.h" | 13 #include "remoting/protocol/session_config.h" |
13 #include "remoting/protocol/video_stub.h" | 14 #include "remoting/protocol/video_stub.h" |
14 | 15 |
15 namespace base { | 16 namespace base { |
16 class Thread; | 17 class Thread; |
17 class SingleThreadTaskRunner; | 18 class SingleThreadTaskRunner; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 // NOTE: Weak pointers must be invalidated before all other member variables. | 84 // NOTE: Weak pointers must be invalidated before all other member variables. |
84 base::WeakPtrFactory<TestVideoRenderer> weak_factory_; | 85 base::WeakPtrFactory<TestVideoRenderer> weak_factory_; |
85 | 86 |
86 DISALLOW_COPY_AND_ASSIGN(TestVideoRenderer); | 87 DISALLOW_COPY_AND_ASSIGN(TestVideoRenderer); |
87 }; | 88 }; |
88 | 89 |
89 } // namespace test | 90 } // namespace test |
90 } // namespace remoting | 91 } // namespace remoting |
91 | 92 |
92 #endif // REMOTING_TEST_TEST_VIDEO_RENDERER_H_ | 93 #endif // REMOTING_TEST_TEST_VIDEO_RENDERER_H_ |
OLD | NEW |