summaryrefslogtreecommitdiffstats
path: root/remoting/client
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-11 06:44:23 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-11 06:44:23 +0000
commit1eb55358ccdb0c36b093cf3bb754a603a0449d7b (patch)
treebdc10e2d08d1c95f35c47a6008822504591d36a5 /remoting/client
parentf88c2e097ceb2857cd36babc608ba9845ef0eab8 (diff)
downloadchromium_src-1eb55358ccdb0c36b093cf3bb754a603a0449d7b.zip
chromium_src-1eb55358ccdb0c36b093cf3bb754a603a0449d7b.tar.gz
chromium_src-1eb55358ccdb0c36b093cf3bb754a603a0449d7b.tar.bz2
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
Diffstat (limited to 'remoting/client')
-rw-r--r--remoting/client/chromoting_client.h5
-rw-r--r--remoting/client/chromoting_view.h6
-rw-r--r--remoting/client/frame_consumer.h2
-rw-r--r--remoting/client/plugin/chromoting_instance.h10
-rw-r--r--remoting/client/plugin/pepper_view_proxy.h1
-rw-r--r--remoting/client/rectangle_update_decoder.h7
6 files changed, 4 insertions, 27 deletions
diff --git a/remoting/client/chromoting_client.h b/remoting/client/chromoting_client.h
index fe48057..a0bea89 100644
--- a/remoting/client/chromoting_client.h
+++ b/remoting/client/chromoting_client.h
@@ -25,11 +25,6 @@ class MessageLoop;
namespace remoting {
-namespace protocol {
-class LocalLoginStatus;
-class NotifyResolutionRequest;
-} // namespace protocol
-
class ClientContext;
class InputHandler;
class RectangleUpdateDecoder;
diff --git a/remoting/client/chromoting_view.h b/remoting/client/chromoting_view.h
index 1f1a769..17b24e3 100644
--- a/remoting/client/chromoting_view.h
+++ b/remoting/client/chromoting_view.h
@@ -11,12 +11,6 @@
#include "media/base/video_frame.h"
#include "remoting/protocol/connection_to_host.h"
-class MessageLoop;
-
-namespace base {
-class WaitableEvent;
-} // namespace base
-
namespace remoting {
static const uint32 kCreatedColor = 0xffccccff;
diff --git a/remoting/client/frame_consumer.h b/remoting/client/frame_consumer.h
index 187b3d5..65b0c64 100644
--- a/remoting/client/frame_consumer.h
+++ b/remoting/client/frame_consumer.h
@@ -7,8 +7,6 @@
#include "remoting/base/decoder.h" // For UpdatedRects
-class Task;
-
namespace remoting {
class FrameConsumer {
diff --git a/remoting/client/plugin/chromoting_instance.h b/remoting/client/plugin/chromoting_instance.h
index 8369b93..427d420 100644
--- a/remoting/client/plugin/chromoting_instance.h
+++ b/remoting/client/plugin/chromoting_instance.h
@@ -23,10 +23,6 @@
#include "remoting/client/plugin/pepper_plugin_thread_delegate.h"
#include "remoting/protocol/connection_to_host.h"
-namespace base {
-class Thread;
-} // namespace base
-
namespace pp {
class InputEvent;
class Module;
@@ -42,17 +38,12 @@ class ChromotingClient;
class ChromotingStats;
class ClientContext;
class InputHandler;
-class JingleThread;
class PepperView;
class PepperViewProxy;
class RectangleUpdateDecoder;
struct ClientConfig;
-namespace protocol {
-class HostConnection;
-} // namespace protocol
-
class ChromotingInstance : public pp::InstancePrivate {
public:
// The mimetype for which this plugin is registered.
@@ -110,6 +101,7 @@ class ChromotingInstance : public pp::InstancePrivate {
// base/logging.h.
static bool LogToUI(int severity, const char* file, int line,
size_t message_start, const std::string& str);
+
private:
FRIEND_TEST_ALL_PREFIXES(ChromotingInstanceTest, TestCaseSetup);
diff --git a/remoting/client/plugin/pepper_view_proxy.h b/remoting/client/plugin/pepper_view_proxy.h
index be55233..b76da59 100644
--- a/remoting/client/plugin/pepper_view_proxy.h
+++ b/remoting/client/plugin/pepper_view_proxy.h
@@ -26,7 +26,6 @@ class MessageLoopProxy;
namespace remoting {
class ChromotingInstance;
-class ClientContext;
class PepperViewProxy : public base::RefCountedThreadSafe<PepperViewProxy>,
public ChromotingView,
diff --git a/remoting/client/rectangle_update_decoder.h b/remoting/client/rectangle_update_decoder.h
index 1a61856..fd5b2c2 100644
--- a/remoting/client/rectangle_update_decoder.h
+++ b/remoting/client/rectangle_update_decoder.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H
-#define REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H
+#ifndef REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_
+#define REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_
#include "base/memory/scoped_ptr.h"
#include "base/task.h"
@@ -15,7 +15,6 @@ class MessageLoop;
namespace remoting {
class FrameConsumer;
-class VideoPacketFormat;
class VideoPacket;
namespace protocol {
@@ -95,4 +94,4 @@ class RectangleUpdateDecoder :
} // namespace remoting
-#endif // REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H
+#endif // REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_