OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_RENDERER_TRANSPORT_TEXTURE_SERVICE_H_ | 5 #ifndef CONTENT_RENDERER_GPU_TRANSPORT_TEXTURE_SERVICE_H_ |
6 #define CONTENT_RENDERER_TRANSPORT_TEXTURE_SERVICE_H_ | 6 #define CONTENT_RENDERER_GPU_TRANSPORT_TEXTURE_SERVICE_H_ |
7 | 7 |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "content/renderer/gpu_channel_host.h" | 12 #include "content/renderer/gpu/gpu_channel_host.h" |
13 #include "content/renderer/gpu_video_decoder_host.h" | 13 #include "content/renderer/gpu/gpu_video_decoder_host.h" |
14 #include "ipc/ipc_channel.h" | 14 #include "ipc/ipc_channel.h" |
15 #include "media/base/buffers.h" | 15 #include "media/base/buffers.h" |
16 #include "media/base/video_frame.h" | 16 #include "media/base/video_frame.h" |
17 | 17 |
18 class RendererGLContext; | 18 class RendererGLContext; |
19 class TransportTextureHost; | 19 class TransportTextureHost; |
20 | 20 |
21 // This class implements MessageFilter to dispatch IPC messages to | 21 // This class implements MessageFilter to dispatch IPC messages to |
22 // TransportTextureHost. | 22 // TransportTextureHost. |
23 class TransportTextureService : public IPC::ChannelProxy::MessageFilter, | 23 class TransportTextureService : public IPC::ChannelProxy::MessageFilter, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 67 |
68 // ID for the next TransportTextureHost. | 68 // ID for the next TransportTextureHost. |
69 int32 next_host_id_; | 69 int32 next_host_id_; |
70 | 70 |
71 std::vector<PendingRoute> pending_routes_; | 71 std::vector<PendingRoute> pending_routes_; |
72 std::vector<IPC::Message*> pending_messages_; | 72 std::vector<IPC::Message*> pending_messages_; |
73 | 73 |
74 DISALLOW_COPY_AND_ASSIGN(TransportTextureService); | 74 DISALLOW_COPY_AND_ASSIGN(TransportTextureService); |
75 }; | 75 }; |
76 | 76 |
77 #endif // CONTENT_RENDERER_TRANSPORT_TEXTURE_SERVICE_H_ | 77 #endif // CONTENT_RENDERER_GPU_TRANSPORT_TEXTURE_SERVICE_H_ |
OLD | NEW |