Commit e9b2ece8 authored by jbriance's avatar jbriance Committed by Commit bot
Browse files

remoting: Cleanup class/struct fwd declarations

Remove useless class and struct forward declarations, and add
missing ones in remoting header files.

BUG=662195

Review-Url: https://codereview.chromium.org/2538183002
Cr-Commit-Position: refs/heads/master@{#435574}
parent 7497990e
......@@ -37,10 +37,8 @@ class TransportContext;
class VideoRenderer;
} // namespace protocol
class AudioDecodeScheduler;
class ClientContext;
class ClientUserInterface;
class FrameConsumerProxy;
class ChromotingClient : public SignalStrategy::Listener,
public protocol::ConnectionToHost::HostEventCallback,
......
......@@ -18,7 +18,6 @@ class DesktopFrame;
namespace remoting {
class GlCanvas;
class GlRenderLayer;
// This class draws the desktop on the canvas.
class GlDesktop {
......
......@@ -35,7 +35,6 @@
namespace remoting {
// class AudioPlayerIos;
class AudioConsumer;
class ClientProxy;
class ClientStatusLogger;
class FrameConsumerBridge;
......
......@@ -25,16 +25,13 @@ namespace remoting {
namespace protocol {
class ClipboardEvent;
class CursorShapeInfo;
class PerformanceTracker;
class FrameConsumer;
class VideoRenderer;
} // namespace protocol
class AudioPlayerAndroid;
class ChromotingJniRuntime;
class JniClient;
class DisplayHandler;
class JniPairingSecretFetcher;
// ChromotingJniInstance is scoped to the session.
......
......@@ -23,8 +23,6 @@ class VideoRenderer;
} // namespace protocol
class ChromotingJniRuntime;
class DualBufferFrameConsumer;
class EglThreadContext;
// Handles OpenGL display operations. Draws desktop and cursor on the OpenGL
// surface. The handler should be used and destroyed on the UI thread. It also
......
......@@ -44,7 +44,6 @@ class DictionaryValue;
namespace pp {
class InputEvent;
class Module;
class VarDictionary;
} // namespace pp
......
......@@ -16,7 +16,6 @@ class InputEvent;
namespace remoting {
namespace protocol {
class InputStub;
class InputEventTracker;
} // namespace protocol
......
......@@ -19,8 +19,6 @@ class Instance;
namespace remoting {
class PepperInputHandler;
class PepperMouseLocker : public pp::MouseLock,
public protocol::CursorShapeStub {
public:
......
......@@ -8,8 +8,6 @@
#include "remoting/protocol/video_renderer.h"
namespace webrtc {
class DesktopSize;
class DesktopVector;
class DesktopRegion;
} // namespace webrtc
......@@ -20,12 +18,6 @@ class View;
namespace remoting {
class ClientContext;
namespace protocol {
class FrameStatsConsumer;
} // namespace protocol
// Interface for video renderers that render video in pepper plugin.
class PepperVideoRenderer : public protocol::VideoRenderer {
public:
......
......@@ -29,7 +29,6 @@ class ScopedClosureRunner;
namespace webrtc {
class DesktopFrame;
class SharedDesktopFrame;
} // namespace webrtc
namespace remoting {
......
......@@ -14,6 +14,10 @@
#include "base/memory/ref_counted.h"
#include "remoting/host/desktop_environment.h"
namespace base {
class SingleThreadTaskRunner;
}
namespace webrtc {
class DesktopCaptureOptions;
......
......@@ -34,10 +34,6 @@
#include "remoting/protocol/video_stream.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
namespace base {
class SingleThreadTaskRunner;
} // namespace base
namespace remoting {
class AudioStream;
......
......@@ -23,10 +23,6 @@ class DesktopCaptureOptions;
namespace remoting {
namespace protocol {
class CursorShapeInfo;
} // namespace protocol
// DesktopCapturerProxy is responsible for calling webrtc::DesktopCapturer on
// the capturer thread and then returning results to the caller's thread.
// GetSourceList() and SelectSource() functions are not implemented by this
......
......@@ -14,10 +14,6 @@
#include "base/memory/weak_ptr.h"
#include "remoting/host/desktop_environment_options.h"
namespace base {
class SingleThreadTaskRunner;
} // namespace base
namespace webrtc {
class DesktopCapturer;
class MouseCursorMonitor;
......@@ -25,10 +21,6 @@ class MouseCursorMonitor;
namespace remoting {
namespace protocol {
class ClientStub;
} // namespace protocol
class AudioCapturer;
class ClientSessionControl;
class InputInjector;
......
......@@ -26,7 +26,6 @@ class ChannelProxy;
namespace remoting {
class AutoThreadTaskRunner;
class DesktopEnvironment;
class DesktopEnvironmentFactory;
class DesktopSessionAgent;
......
......@@ -29,7 +29,6 @@
namespace base {
class TimeDelta;
class SingleThreadTaskRunner;
} // namespace base
namespace remoting {
......
......@@ -21,7 +21,6 @@ class SingleThreadTaskRunner;
namespace remoting {
class AutoThreadTaskRunner;
class HostStatusMonitor;
// A HostStatusObserver to block screen saver from taking effect during the
......
......@@ -7,12 +7,7 @@
#include <string>
namespace net {
class IPEndPoint;
} // namespace net
namespace remoting {
class SignalStrategy;
namespace protocol {
struct TransportRoute;
......
......@@ -31,7 +31,6 @@ class ChromotingHost;
class ChromotingHostContext;
class DesktopEnvironmentFactory;
class HostEventLogger;
class HostNPScriptObject;
class HostStatusLogger;
class PolicyWatcher;
class RegisterSupportHostRequest;
......
......@@ -18,7 +18,6 @@
#include "remoting/host/native_messaging/native_messaging_writer.h"
namespace base {
class DictionaryValue;
class Value;
} // namespace base
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment