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

Side by Side Diff: content/renderer/gpu_video_service_host.h

Issue 6713005: Move a bunch of gpu/worker/plugin renderer code to content. I temporarily disabled the sad plugi... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_RENDERER_GPU_VIDEO_SERVICE_HOST_H_ 5 #ifndef CONTENT_RENDERER_GPU_VIDEO_SERVICE_HOST_H_
6 #define CHROME_RENDERER_GPU_VIDEO_SERVICE_HOST_H_ 6 #define CONTENT_RENDERER_GPU_VIDEO_SERVICE_HOST_H_
7 7
8 #include "base/singleton.h" 8 #include "base/singleton.h"
9 #include "chrome/renderer/gpu_channel_host.h" 9 #include "content/renderer/gpu_channel_host.h"
10 #include "chrome/renderer/gpu_video_decoder_host.h" 10 #include "content/renderer/gpu_video_decoder_host.h"
11 #include "ipc/ipc_channel.h" 11 #include "ipc/ipc_channel.h"
12 #include "media/base/buffers.h" 12 #include "media/base/buffers.h"
13 #include "media/base/video_frame.h" 13 #include "media/base/video_frame.h"
14 14
15 // GpuVideoServiceHost lives on IO thread and is used to dispatch IPC messages 15 // GpuVideoServiceHost lives on IO thread and is used to dispatch IPC messages
16 // to GpuVideoDecoderHost objects. 16 // to GpuVideoDecoderHost objects.
17 class GpuVideoServiceHost : public IPC::ChannelProxy::MessageFilter { 17 class GpuVideoServiceHost : public IPC::ChannelProxy::MessageFilter {
18 public: 18 public:
19 GpuVideoServiceHost(); 19 GpuVideoServiceHost();
20 20
(...skipping 22 matching lines...) Expand all
43 43
44 // Router to send messages to a GpuVideoDecoderHost. 44 // Router to send messages to a GpuVideoDecoderHost.
45 MessageRouter router_; 45 MessageRouter router_;
46 46
47 // ID for the next GpuVideoDecoderHost. 47 // ID for the next GpuVideoDecoderHost.
48 int32 next_decoder_host_id_; 48 int32 next_decoder_host_id_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(GpuVideoServiceHost); 50 DISALLOW_COPY_AND_ASSIGN(GpuVideoServiceHost);
51 }; 51 };
52 52
53 #endif // CHROME_RENDERER_GPU_VIDEO_SERVICE_HOST_H_ 53 #endif // CONTENT_RENDERER_GPU_VIDEO_SERVICE_HOST_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu_video_decoder_host_unittest.cc ('k') | content/renderer/gpu_video_service_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698