Index: content/browser/gpu/gpu_process_host_ui_shim.h |
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.h b/content/browser/gpu/gpu_process_host_ui_shim.h |
index d0782d723b7c8d3170bc1788256c50a5efaa8bfb..a87bb65514cdd02531f92a671f03c5951757feba 100644 |
--- a/content/browser/gpu/gpu_process_host_ui_shim.h |
+++ b/content/browser/gpu/gpu_process_host_ui_shim.h |
@@ -17,10 +17,6 @@ |
#include "base/memory/linked_ptr.h" |
#include "base/memory/ref_counted.h" |
#include "base/threading/non_thread_safe.h" |
-#include "content/common/gpu/gpu_channel_manager.h" |
-#include "content/common/gpu/gpu_feature_flags.h" |
-#include "content/common/gpu/gpu_info.h" |
-#include "content/common/gpu/gpu_process_launch_causes.h" |
#include "content/common/message_router.h" |
namespace gfx { |
@@ -36,19 +32,6 @@ struct ChannelHandle; |
class Message; |
} |
-// A task that will forward an IPC message to the UI shim. |
-class RouteToGpuProcessHostUIShimTask : public Task { |
- public: |
- RouteToGpuProcessHostUIShimTask(int host_id, const IPC::Message& msg); |
- ~RouteToGpuProcessHostUIShimTask(); |
- |
- private: |
- virtual void Run(); |
- |
- int host_id_; |
- IPC::Message msg_; |
-}; |
- |
class GpuProcessHostUIShim |
: public IPC::Channel::Listener, |
public IPC::Channel::Sender, |
@@ -109,15 +92,6 @@ class GpuProcessHostUIShim |
// The serial number of the GpuProcessHost / GpuProcessHostUIShim pair. |
int host_id_; |
- |
- // In single process and in process GPU mode, this references the |
- // GpuChannelManager or null otherwise. It must be called and deleted on the |
- // GPU thread. |
- GpuChannelManager* gpu_channel_manager_; |
- |
- // This is likewise single process / in process GPU specific. This is a Sender |
- // implementation that forwards IPC messages to this UI shim on the UI thread. |
- IPC::Channel::Sender* ui_thread_sender_; |
}; |
#endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_UI_SHIM_H_ |