OLD | NEW |
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_CHANNEL_HOST_H_ | 5 #ifndef CONTENT_RENDERER_GPU_CHANNEL_HOST_H_ |
6 #define CHROME_RENDERER_GPU_CHANNEL_HOST_H_ | 6 #define CONTENT_RENDERER_GPU_CHANNEL_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/hash_tables.h" | 12 #include "base/hash_tables.h" |
13 #include "base/process_util.h" | 13 #include "base/process_util.h" |
14 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
15 #include "content/common/gpu_info.h" | 15 #include "content/common/gpu_info.h" |
16 #include "content/common/message_router.h" | 16 #include "content/common/message_router.h" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 typedef base::hash_map<int, IPC::Channel::Listener*> ProxyMap; | 100 typedef base::hash_map<int, IPC::Channel::Listener*> ProxyMap; |
101 ProxyMap proxies_; | 101 ProxyMap proxies_; |
102 | 102 |
103 // This is a MessageFilter to intercept IPC messages and distribute them | 103 // This is a MessageFilter to intercept IPC messages and distribute them |
104 // to the corresponding GpuVideoDecoderHost. | 104 // to the corresponding GpuVideoDecoderHost. |
105 scoped_refptr<GpuVideoServiceHost> gpu_video_service_host_; | 105 scoped_refptr<GpuVideoServiceHost> gpu_video_service_host_; |
106 | 106 |
107 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost); | 107 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost); |
108 }; | 108 }; |
109 | 109 |
110 #endif // CHROME_RENDERER_GPU_CHANNEL_HOST_H_ | 110 #endif // CONTENT_RENDERER_GPU_CHANNEL_HOST_H_ |
OLD | NEW |