Commit 1eb55358 authored by thestig@chromium.org's avatar thestig@chromium.org

Cleanup: Remove unneeded forward declarations from remoting.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/8536002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109593 0039d316-1c4b-4281-b951-d872f2087c98
parent f88c2e09
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
namespace remoting { namespace remoting {
class Compressor; class Compressor;
class UpdateStreamPacket;
// EncoderRowBased implements an Encoder using zlib or verbatim // EncoderRowBased implements an Encoder using zlib or verbatim
// compression. Zlib-based encoder must be created using // compression. Zlib-based encoder must be created using
......
...@@ -25,11 +25,6 @@ class MessageLoop; ...@@ -25,11 +25,6 @@ class MessageLoop;
namespace remoting { namespace remoting {
namespace protocol {
class LocalLoginStatus;
class NotifyResolutionRequest;
} // namespace protocol
class ClientContext; class ClientContext;
class InputHandler; class InputHandler;
class RectangleUpdateDecoder; class RectangleUpdateDecoder;
......
...@@ -11,12 +11,6 @@ ...@@ -11,12 +11,6 @@
#include "media/base/video_frame.h" #include "media/base/video_frame.h"
#include "remoting/protocol/connection_to_host.h" #include "remoting/protocol/connection_to_host.h"
class MessageLoop;
namespace base {
class WaitableEvent;
} // namespace base
namespace remoting { namespace remoting {
static const uint32 kCreatedColor = 0xffccccff; static const uint32 kCreatedColor = 0xffccccff;
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
#include "remoting/base/decoder.h" // For UpdatedRects #include "remoting/base/decoder.h" // For UpdatedRects
class Task;
namespace remoting { namespace remoting {
class FrameConsumer { class FrameConsumer {
......
...@@ -23,10 +23,6 @@ ...@@ -23,10 +23,6 @@
#include "remoting/client/plugin/pepper_plugin_thread_delegate.h" #include "remoting/client/plugin/pepper_plugin_thread_delegate.h"
#include "remoting/protocol/connection_to_host.h" #include "remoting/protocol/connection_to_host.h"
namespace base {
class Thread;
} // namespace base
namespace pp { namespace pp {
class InputEvent; class InputEvent;
class Module; class Module;
...@@ -42,17 +38,12 @@ class ChromotingClient; ...@@ -42,17 +38,12 @@ class ChromotingClient;
class ChromotingStats; class ChromotingStats;
class ClientContext; class ClientContext;
class InputHandler; class InputHandler;
class JingleThread;
class PepperView; class PepperView;
class PepperViewProxy; class PepperViewProxy;
class RectangleUpdateDecoder; class RectangleUpdateDecoder;
struct ClientConfig; struct ClientConfig;
namespace protocol {
class HostConnection;
} // namespace protocol
class ChromotingInstance : public pp::InstancePrivate { class ChromotingInstance : public pp::InstancePrivate {
public: public:
// The mimetype for which this plugin is registered. // The mimetype for which this plugin is registered.
...@@ -110,6 +101,7 @@ class ChromotingInstance : public pp::InstancePrivate { ...@@ -110,6 +101,7 @@ class ChromotingInstance : public pp::InstancePrivate {
// base/logging.h. // base/logging.h.
static bool LogToUI(int severity, const char* file, int line, static bool LogToUI(int severity, const char* file, int line,
size_t message_start, const std::string& str); size_t message_start, const std::string& str);
private: private:
FRIEND_TEST_ALL_PREFIXES(ChromotingInstanceTest, TestCaseSetup); FRIEND_TEST_ALL_PREFIXES(ChromotingInstanceTest, TestCaseSetup);
......
...@@ -26,7 +26,6 @@ class MessageLoopProxy; ...@@ -26,7 +26,6 @@ class MessageLoopProxy;
namespace remoting { namespace remoting {
class ChromotingInstance; class ChromotingInstance;
class ClientContext;
class PepperViewProxy : public base::RefCountedThreadSafe<PepperViewProxy>, class PepperViewProxy : public base::RefCountedThreadSafe<PepperViewProxy>,
public ChromotingView, public ChromotingView,
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H #ifndef REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_
#define REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H #define REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_
#include "base/memory/scoped_ptr.h" #include "base/memory/scoped_ptr.h"
#include "base/task.h" #include "base/task.h"
...@@ -15,7 +15,6 @@ class MessageLoop; ...@@ -15,7 +15,6 @@ class MessageLoop;
namespace remoting { namespace remoting {
class FrameConsumer; class FrameConsumer;
class VideoPacketFormat;
class VideoPacket; class VideoPacket;
namespace protocol { namespace protocol {
...@@ -95,4 +94,4 @@ class RectangleUpdateDecoder : ...@@ -95,4 +94,4 @@ class RectangleUpdateDecoder :
} // namespace remoting } // namespace remoting
#endif // REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H #endif // REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_
...@@ -2,10 +2,11 @@ ...@@ -2,10 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef REMOTING_CHROMOTING_HOST_H_ #ifndef REMOTING_HOST_CHROMOTING_HOST_H_
#define REMOTING_CHROMOTING_HOST_H_ #define REMOTING_HOST_CHROMOTING_HOST_H_
#include <string> #include <string>
#include <vector>
#include "base/memory/scoped_ptr.h" #include "base/memory/scoped_ptr.h"
#include "base/threading/thread.h" #include "base/threading/thread.h"
...@@ -21,12 +22,9 @@ ...@@ -21,12 +22,9 @@
#include "remoting/protocol/session_manager.h" #include "remoting/protocol/session_manager.h"
#include "remoting/protocol/connection_to_client.h" #include "remoting/protocol/connection_to_client.h"
class Task;
namespace remoting { namespace remoting {
namespace protocol { namespace protocol {
class HostStub;
class InputStub; class InputStub;
class SessionConfig; class SessionConfig;
class CandidateSessionConfig; class CandidateSessionConfig;
......
...@@ -13,12 +13,6 @@ ...@@ -13,12 +13,6 @@
#include "base/threading/thread.h" #include "base/threading/thread.h"
#include "remoting/jingle_glue/jingle_thread.h" #include "remoting/jingle_glue/jingle_thread.h"
class Task;
namespace tracked_objects {
class Location;
}
namespace remoting { namespace remoting {
// A class that manages threads and running context for the chromoting host // A class that manages threads and running context for the chromoting host
...@@ -26,7 +20,7 @@ namespace remoting { ...@@ -26,7 +20,7 @@ namespace remoting {
class ChromotingHostContext { class ChromotingHostContext {
public: public:
// Create a context. // Create a context.
ChromotingHostContext(base::MessageLoopProxy* ui_message_loop); explicit ChromotingHostContext(base::MessageLoopProxy* ui_message_loop);
virtual ~ChromotingHostContext(); virtual ~ChromotingHostContext();
// TODO(ajwong): Move the Start/Stop methods out of this class. Then // TODO(ajwong): Move the Start/Stop methods out of this class. Then
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
namespace remoting { namespace remoting {
class ChromotingHost; class ChromotingHost;
class DisconnectWindowMac;
} }
// Controller for the disconnect window which allows the host user to // Controller for the disconnect window which allows the host user to
......
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
#include "base/memory/ref_counted.h" #include "base/memory/ref_counted.h"
class Task;
namespace remoting { namespace remoting {
// Following constants define names for configuration parameters. // Following constants define names for configuration parameters.
...@@ -34,8 +32,8 @@ extern const char kPrivateKeyConfigPath[]; ...@@ -34,8 +32,8 @@ extern const char kPrivateKeyConfigPath[];
// HostConfig interace provides read-only access to host configuration. // HostConfig interace provides read-only access to host configuration.
class HostConfig : public base::RefCountedThreadSafe<HostConfig> { class HostConfig : public base::RefCountedThreadSafe<HostConfig> {
public: public:
HostConfig() { }; HostConfig() {}
virtual ~HostConfig() { } virtual ~HostConfig() {}
virtual bool GetString(const std::string& path, std::string* out_value) = 0; virtual bool GetString(const std::string& path, std::string* out_value) = 0;
virtual bool GetBoolean(const std::string& path, bool* out_value) = 0; virtual bool GetBoolean(const std::string& path, bool* out_value) = 0;
...@@ -46,7 +44,7 @@ class HostConfig : public base::RefCountedThreadSafe<HostConfig> { ...@@ -46,7 +44,7 @@ class HostConfig : public base::RefCountedThreadSafe<HostConfig> {
// MutableHostConfig extends HostConfig for mutability. // MutableHostConfig extends HostConfig for mutability.
class MutableHostConfig : public HostConfig { class MutableHostConfig : public HostConfig {
public: public:
MutableHostConfig() { }; MutableHostConfig() {}
// SetString() updates specified config value. Save() must be called to save // SetString() updates specified config value. Save() must be called to save
// the changes on the disk. // the changes on the disk.
......
...@@ -2,18 +2,14 @@ ...@@ -2,18 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef REMOTING_HOST_STATUS_OBSERVER_H_ #ifndef REMOTING_HOST_HOST_STATUS_OBSERVER_H_
#define REMOTING_HOST_STATUS_OBSERVER_H_ #define REMOTING_HOST_HOST_STATUS_OBSERVER_H_
#include <string> #include <string>
namespace remoting { namespace remoting {
class SignalStrategy; class SignalStrategy;
namespace protocol {
class ConnectionToClient;
}
// Interface for host status observer. All methods are invoked on the // Interface for host status observer. All methods are invoked on the
// network thread. // network thread.
class HostStatusObserver { class HostStatusObserver {
...@@ -41,4 +37,4 @@ class HostStatusObserver { ...@@ -41,4 +37,4 @@ class HostStatusObserver {
} // namespace remoting } // namespace remoting
#endif // REMOTING_HOST_STATUS_OBSERVER_H_ #endif // REMOTING_HOST_HOST_STATUS_OBSERVER_H_
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
#include "base/synchronization/lock.h" #include "base/synchronization/lock.h"
#include "remoting/host/host_config.h" #include "remoting/host/host_config.h"
class Task;
namespace base { namespace base {
class DictionaryValue; class DictionaryValue;
} }
......
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
#include "base/memory/scoped_ptr.h" #include "base/memory/scoped_ptr.h"
#include "remoting/host/in_memory_host_config.h" #include "remoting/host/in_memory_host_config.h"
class Task;
namespace base { namespace base {
class MessageLoopProxy; class MessageLoopProxy;
} // namespace base } // namespace base
......
...@@ -26,10 +26,6 @@ ...@@ -26,10 +26,6 @@
#include "third_party/npapi/bindings/npfunctions.h" #include "third_party/npapi/bindings/npfunctions.h"
#include "third_party/npapi/bindings/npruntime.h" #include "third_party/npapi/bindings/npruntime.h"
namespace tracked_objects {
class Location;
} // namespace tracked_objects
namespace remoting { namespace remoting {
class ChromotingHost; class ChromotingHost;
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef REMOTING_HOST_SUPPORT_HOST_REGISTER_QUERY_H_ #ifndef REMOTING_HOST_REGISTER_SUPPORT_HOST_REQUEST_H_
#define REMOTING_HOST_SUPPORT_HOST_REGISTER_QUERY_H_ #define REMOTING_HOST_REGISTER_SUPPORT_HOST_REQUEST_H_
#include <string> #include <string>
...@@ -28,7 +28,6 @@ namespace remoting { ...@@ -28,7 +28,6 @@ namespace remoting {
class IqRequest; class IqRequest;
class IqSender; class IqSender;
class MutableHostConfig;
// RegisterSupportHostRequest sends support host registeration request // RegisterSupportHostRequest sends support host registeration request
// to the Chromoting Bot. It listens to the status of the host using // to the Chromoting Bot. It listens to the status of the host using
...@@ -87,4 +86,4 @@ class RegisterSupportHostRequest : public HostStatusObserver { ...@@ -87,4 +86,4 @@ class RegisterSupportHostRequest : public HostStatusObserver {
} // namespace remoting } // namespace remoting
#endif // REMOTING_HOST_SUPPORT_HOST_REGISTER_QUERY_H_ #endif // REMOTING_HOST_REGISTER_SUPPORT_HOST_REQUEST_H_
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
namespace remoting { namespace remoting {
class HostConfig;
// SupportAccessVerifier is used in Me2Mom scenario to verify that the // SupportAccessVerifier is used in Me2Mom scenario to verify that the
// client knows the host secret. // client knows the host secret.
class SupportAccessVerifier : public AccessVerifier { class SupportAccessVerifier : public AccessVerifier {
......
...@@ -16,10 +16,6 @@ namespace base { ...@@ -16,10 +16,6 @@ namespace base {
class MessageLoopProxy; class MessageLoopProxy;
} // namespace base } // namespace base
namespace buzz {
class XmppClient;
} // namespace buzz
namespace remoting { namespace remoting {
class TaskPump : public talk_base::MessageHandler, class TaskPump : public talk_base::MessageHandler,
...@@ -37,7 +33,7 @@ class TaskPump : public talk_base::MessageHandler, ...@@ -37,7 +33,7 @@ class TaskPump : public talk_base::MessageHandler,
class JingleThreadMessageLoop : public MessageLoop { class JingleThreadMessageLoop : public MessageLoop {
public: public:
JingleThreadMessageLoop(talk_base::Thread* thread); explicit JingleThreadMessageLoop(talk_base::Thread* thread);
virtual ~JingleThreadMessageLoop(); virtual ~JingleThreadMessageLoop();
private: private:
......
...@@ -19,8 +19,6 @@ ...@@ -19,8 +19,6 @@
#include "base/memory/ref_counted.h" #include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h" #include "base/memory/weak_ptr.h"
class MessageLoop;
namespace remoting { namespace remoting {
class XmppProxy : public base::RefCountedThreadSafe<XmppProxy> { class XmppProxy : public base::RefCountedThreadSafe<XmppProxy> {
...@@ -54,4 +52,4 @@ class XmppProxy : public base::RefCountedThreadSafe<XmppProxy> { ...@@ -54,4 +52,4 @@ class XmppProxy : public base::RefCountedThreadSafe<XmppProxy> {
} // namespace remoting } // namespace remoting
#endif // REMOTING_JINGLE_GLUE_XMPP_PROXY_H_ #endif // REMOTING_JINGLE_GLUE_XMPP_PROXY_H_
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
#include "net/base/io_buffer.h" #include "net/base/io_buffer.h"
#include "net/socket/socket.h" #include "net/socket/socket.h"
class Task;
namespace base { namespace base {
class MessageLoopProxy; class MessageLoopProxy;
} // namespace base } // namespace base
...@@ -108,7 +106,7 @@ class BufferedSocketWriterBase ...@@ -108,7 +106,7 @@ class BufferedSocketWriterBase
class BufferedSocketWriter : public BufferedSocketWriterBase { class BufferedSocketWriter : public BufferedSocketWriterBase {
public: public:
BufferedSocketWriter(base::MessageLoopProxy* message_loop); explicit BufferedSocketWriter(base::MessageLoopProxy* message_loop);
virtual ~BufferedSocketWriter(); virtual ~BufferedSocketWriter();
protected: protected:
...@@ -122,7 +120,7 @@ class BufferedSocketWriter : public BufferedSocketWriterBase { ...@@ -122,7 +120,7 @@ class BufferedSocketWriter : public BufferedSocketWriterBase {
class BufferedDatagramWriter : public BufferedSocketWriterBase { class BufferedDatagramWriter : public BufferedSocketWriterBase {
public: public:
BufferedDatagramWriter(base::MessageLoopProxy* message_loop); explicit BufferedDatagramWriter(base::MessageLoopProxy* message_loop);
virtual ~BufferedDatagramWriter(); virtual ~BufferedDatagramWriter();
protected: protected:
......
...@@ -9,16 +9,14 @@ ...@@ -9,16 +9,14 @@
// //
// This class can be used on any thread. // This class can be used on any thread.
#ifndef REMOTING_PROTOCOL_CLIENT_STUB_IMPL_H_ #ifndef REMOTING_PROTOCOL_CLIENT_CONTROL_SENDER_H_
#define REMOTING_PROTOCOL_CLIENT_STUB_IMPL_H_ #define REMOTING_PROTOCOL_CLIENT_CONTROL_SENDER_H_
#include "base/basictypes.h" #include "base/basictypes.h"
#include "base/compiler_specific.h" #include "base/compiler_specific.h"
#include "base/memory/ref_counted.h" #include "base/memory/ref_counted.h"
#include "remoting/protocol/client_stub.h" #include "remoting/protocol/client_stub.h"
class Task;
namespace base { namespace base {
class MessageLoopProxy; class MessageLoopProxy;
} // namespace base } // namespace base
...@@ -56,4 +54,4 @@ class ClientControlSender : public ClientStub { ...@@ -56,4 +54,4 @@ class ClientControlSender : public ClientStub {
} // namespace protocol } // namespace protocol
} // namespace remoting } // namespace remoting
#endif // REMOTING_PROTOCOL_CLIENT_STUB_IMPL_H_ #endif // REMOTING_PROTOCOL_CLIENT_CONTROL_SENDER_H_
...@@ -11,8 +11,6 @@ ...@@ -11,8 +11,6 @@
namespace remoting { namespace remoting {
class EventMessage;
namespace protocol { namespace protocol {
class ClientStub; class ClientStub;
......
...@@ -26,14 +26,12 @@ class Instance; ...@@ -26,14 +26,12 @@ class Instance;
namespace remoting { namespace remoting {
class JingleThread;
class XmppProxy; class XmppProxy;
class VideoPacket; class VideoPacket;
namespace protocol { namespace protocol {
class ClientMessageDispatcher; class ClientMessageDispatcher;
class ClientControlSender;
class ClientStub; class ClientStub;
class HostControlSender; class HostControlSender;
class HostStub; class HostStub;
......
...@@ -10,10 +10,6 @@ ...@@ -10,10 +10,6 @@
#include "base/task.h" #include "base/task.h"
#include "remoting/protocol/message_reader.h" #include "remoting/protocol/message_reader.h"
namespace base {
class MessageLoopProxy;
} // namespace base
namespace remoting { namespace remoting {
namespace protocol { namespace protocol {
......
...@@ -11,15 +11,13 @@ ...@@ -11,15 +11,13 @@
#include "base/basictypes.h" #include "base/basictypes.h"
class Task;
namespace remoting { namespace remoting {
namespace protocol { namespace protocol {
class HostStub { class HostStub {
public: public:
HostStub() {}; HostStub() {}
virtual ~HostStub() {}; virtual ~HostStub() {}
// Currently we don't use the control channel for anything. Add new // Currently we don't use the control channel for anything. Add new
// message handlers here when necessary. // message handlers here when necessary.
......
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
#include "base/basictypes.h" #include "base/basictypes.h"
class Task;
namespace remoting { namespace remoting {
namespace protocol { namespace protocol {
...@@ -20,8 +18,8 @@ class MouseEvent; ...@@ -20,8 +18,8 @@ class MouseEvent;
class InputStub { class InputStub {
public: public:
InputStub() {}; InputStub() {}
virtual ~InputStub() {}; virtual ~InputStub() {}
virtual void InjectKeyEvent(const KeyEvent& event) = 0; virtual void InjectKeyEvent(const KeyEvent& event) = 0;
virtual void InjectMouseEvent(const MouseEvent& event) = 0; virtual void InjectMouseEvent(const MouseEvent& event) = 0;
......
...@@ -5,14 +5,12 @@ ...@@ -5,14 +5,12 @@
#ifndef REMOTING_PROTOCOL_JINGLE_DATAGRAM_CONNECTOR_H_ #ifndef REMOTING_PROTOCOL_JINGLE_DATAGRAM_CONNECTOR_H_
#define REMOTING_PROTOCOL_JINGLE_DATAGRAM_CONNECTOR_H_ #define REMOTING_PROTOCOL_JINGLE_DATAGRAM_CONNECTOR_H_
#include <string>
#include "net/base/completion_callback.h" #include "net/base/completion_callback.h"
#include "remoting/protocol/jingle_channel_connector.h" #include "remoting/protocol/jingle_channel_connector.h"
#include "remoting/protocol/session.h" #include "remoting/protocol/session.h"
namespace cricket {
class TransportChannel;
} // namespace cricket
namespace jingle_glue { namespace jingle_glue {
class TransportChannelSocketAdapter; class TransportChannelSocketAdapter;
} // namespace jingle_glue } // namespace jingle_glue
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
#ifndef REMOTING_PROTOCOL_JINGLE_STREAM_CONNECTOR_H_ #ifndef REMOTING_PROTOCOL_JINGLE_STREAM_CONNECTOR_H_
#define REMOTING_PROTOCOL_JINGLE_STREAM_CONNECTOR_H_ #define REMOTING_PROTOCOL_JINGLE_STREAM_CONNECTOR_H_
#include <string>
#include "base/memory/scoped_ptr.h" #include "base/memory/scoped_ptr.h"
#include "net/base/completion_callback.h" #include "net/base/completion_callback.h"
#include "remoting/protocol/channel_authenticator.h" #include "remoting/protocol/channel_authenticator.h"
...@@ -15,10 +17,6 @@ namespace cricket { ...@@ -15,10 +17,6 @@ namespace cricket {
class TransportChannel; class TransportChannel;
} // namespace cricket } // namespace cricket
namespace jingle_glue {
class TransportChannelSocketAdapter;
} // namespace jingle_glue
namespace net { namespace net {
class CertVerifier; class CertVerifier;
class StreamSocket; class StreamSocket;
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#ifndef REMOTING_PROTOCOL_PEPPER_SESSION_H_ #ifndef REMOTING_PROTOCOL_PEPPER_SESSION_H_
#define REMOTING_PROTOCOL_PEPPER_SESSION_H_ #define REMOTING_PROTOCOL_PEPPER_SESSION_H_
#include <list>
#include <map> #include <map>
#include <string> #include <string>
...@@ -17,17 +18,10 @@ ...@@ -17,17 +18,10 @@
#include "remoting/protocol/session_config.h" #include "remoting/protocol/session_config.h"
namespace net { namespace net {
class CertVerifier;
class ClientSocketFactory;
class Socket; class Socket;
class StreamSocket; class StreamSocket;
class X509Certificate;
} // namespace net } // namespace net
namespace pp {
class Instance;
} // namespace pp
namespace remoting { namespace remoting {
class IqRequest; class IqRequest;
...@@ -36,7 +30,6 @@ namespace protocol { ...@@ -36,7 +30,6 @@ namespace protocol {
class PepperChannel; class PepperChannel;
class PepperSessionManager; class PepperSessionManager;
class SocketWrapper;
// Implements the protocol::Session interface using the Pepper P2P // Implements the protocol::Session interface using the Pepper P2P
// Transport API. Created by PepperSessionManager for incoming and // Transport API. Created by PepperSessionManager for incoming and
...@@ -75,7 +68,7 @@ class PepperSession : public Session { ...@@ -75,7 +68,7 @@ class PepperSession : public Session {
typedef std::map<std::string, PepperChannel*> ChannelsMap; typedef std::map<std::string, PepperChannel*> ChannelsMap;
PepperSession(PepperSessionManager* session_manager); explicit PepperSession(PepperSessionManager* session_manager);
// Start cs connection by sending session-initiate message. // Start cs connection by sending session-initiate message.
void StartConnection(const std::string& peer_jid, void StartConnection(const std::string& peer_jid,
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
#ifndef REMOTING_PROTOCOL_PEPPER_STREAM_CHANNEL_H_ #ifndef REMOTING_PROTOCOL_PEPPER_STREAM_CHANNEL_H_
#define REMOTING_PROTOCOL_PEPPER_STREAM_CHANNEL_H_ #define REMOTING_PROTOCOL_PEPPER_STREAM_CHANNEL_H_
#include <string>
#include "base/memory/ref_counted.h" #include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h" #include "base/memory/scoped_ptr.h"
#include "net/base/completion_callback.h" #include "net/base/completion_callback.h"
...@@ -17,7 +19,6 @@ namespace net { ...@@ -17,7 +19,6 @@ namespace net {
class CertVerifier; class CertVerifier;
class StreamSocket; class StreamSocket;
class SSLClientSocket; class SSLClientSocket;
class SSLServerSocket;
} // namespace net } // namespace net
namespace remoting { namespace remoting {
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include "ppapi/cpp/completion_callback.h" #include "ppapi/cpp/completion_callback.h"
namespace pp { namespace pp {
class Instance;
class Transport_Dev; class Transport_Dev;
} // namespace pp } // namespace pp
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
#ifndef REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ #ifndef REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_
#define REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ #define REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_
#include <string>
#include "remoting/proto/internal.pb.h" #include "remoting/proto/internal.pb.h"
#include "remoting/protocol/client_stub.h" #include "remoting/protocol/client_stub.h"
#include "remoting/protocol/connection_to_client.h" #include "remoting/protocol/connection_to_client.h"
...@@ -17,8 +19,6 @@ ...@@ -17,8 +19,6 @@
namespace remoting { namespace remoting {
namespace protocol { namespace protocol {
class ChromotocolConnection;
class MockConnectionToClient : public ConnectionToClient { class MockConnectionToClient : public ConnectionToClient {
public: public:
MockConnectionToClient(Session* session, MockConnectionToClient(Session* session,
......
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
...@@ -13,8 +13,6 @@ class MessageLoopProxy; ...@@ -13,8 +13,6 @@ class MessageLoopProxy;
namespace remoting { namespace remoting {
class CompoundBuffer;
namespace protocol { namespace protocol {
class BufferedDatagramWriter; class BufferedDatagramWriter;
...@@ -22,7 +20,7 @@ struct RtcpReceiverReport; ...@@ -22,7 +20,7 @@ struct RtcpReceiverReport;
class RtcpWriter { class RtcpWriter {
public: public:
RtcpWriter(base::MessageLoopProxy* message_loop); explicit RtcpWriter(base::MessageLoopProxy* message_loop);
virtual ~RtcpWriter(); virtual ~RtcpWriter();
// Initializes the writer. Must be called on the thread the socket // Initializes the writer. Must be called on the thread the socket
......
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
#include "remoting/protocol/buffered_socket_writer.h" #include "remoting/protocol/buffered_socket_writer.h"
#include "remoting/protocol/session_config.h" #include "remoting/protocol/session_config.h"
class Task;
namespace net { namespace net {
class Socket; class Socket;
class StreamSocket; class StreamSocket;
......
...@@ -52,8 +52,6 @@ ...@@ -52,8 +52,6 @@
#include "base/threading/non_thread_safe.h" #include "base/threading/non_thread_safe.h"
#include "remoting/protocol/session.h" #include "remoting/protocol/session.h"
class Task;
namespace crypto { namespace crypto {
class RSAPrivateKey; class RSAPrivateKey;
} // namespace base } // namespace base
......
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
...@@ -11,8 +11,6 @@ ...@@ -11,8 +11,6 @@
#include "net/base/io_buffer.h" #include "net/base/io_buffer.h"
#include "third_party/protobuf/src/google/protobuf/message_lite.h" #include "third_party/protobuf/src/google/protobuf/message_lite.h"
class Task;
namespace remoting { namespace remoting {
namespace protocol { namespace protocol {
......
...@@ -17,9 +17,6 @@ class MessageLoopProxy; ...@@ -17,9 +17,6 @@ class MessageLoopProxy;
} // namespace base } // namespace base
namespace remoting { namespace remoting {
class ChromotocolConnection;
namespace protocol { namespace protocol {
class Session; class Session;
......
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