Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Side by Side Diff: remoting/host/register_support_host_request.h

Issue 8536002: Cleanup: Remove unneeded forward declarations from remoting. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/plugin/host_script_object.h ('k') | remoting/host/support_access_verifier.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 REMOTING_HOST_SUPPORT_HOST_REGISTER_QUERY_H_ 5 #ifndef REMOTING_HOST_REGISTER_SUPPORT_HOST_REQUEST_H_
6 #define REMOTING_HOST_SUPPORT_HOST_REGISTER_QUERY_H_ 6 #define REMOTING_HOST_REGISTER_SUPPORT_HOST_REQUEST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "remoting/host/host_key_pair.h" 13 #include "remoting/host/host_key_pair.h"
14 #include "remoting/host/host_status_observer.h" 14 #include "remoting/host/host_status_observer.h"
15 #include "testing/gtest/include/gtest/gtest_prod.h" 15 #include "testing/gtest/include/gtest/gtest_prod.h"
16 16
17 class MessageLoop; 17 class MessageLoop;
18 18
19 namespace buzz { 19 namespace buzz {
20 class XmlElement; 20 class XmlElement;
21 } // namespace buzz 21 } // namespace buzz
22 22
23 namespace base { 23 namespace base {
24 class TimeDelta; 24 class TimeDelta;
25 } // namespace base 25 } // namespace base
26 26
27 namespace remoting { 27 namespace remoting {
28 28
29 class IqRequest; 29 class IqRequest;
30 class IqSender; 30 class IqSender;
31 class MutableHostConfig;
32 31
33 // RegisterSupportHostRequest sends support host registeration request 32 // RegisterSupportHostRequest sends support host registeration request
34 // to the Chromoting Bot. It listens to the status of the host using 33 // to the Chromoting Bot. It listens to the status of the host using
35 // HostStatusObserver interface and sends the request when signalling 34 // HostStatusObserver interface and sends the request when signalling
36 // channel is connected. When a response is received from the bot, it 35 // channel is connected. When a response is received from the bot, it
37 // calls the callback specified in the Init() method. 36 // calls the callback specified in the Init() method.
38 class RegisterSupportHostRequest : public HostStatusObserver { 37 class RegisterSupportHostRequest : public HostStatusObserver {
39 public: 38 public:
40 // First parameter is set to true on success. Second parameter is 39 // First parameter is set to true on success. Second parameter is
41 // the new SessionID received from the bot. Third parameter is the 40 // the new SessionID received from the bot. Third parameter is the
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 RegisterCallback callback_; 79 RegisterCallback callback_;
81 scoped_ptr<IqSender> iq_sender_; 80 scoped_ptr<IqSender> iq_sender_;
82 scoped_ptr<IqRequest> request_; 81 scoped_ptr<IqRequest> request_;
83 HostKeyPair key_pair_; 82 HostKeyPair key_pair_;
84 83
85 DISALLOW_COPY_AND_ASSIGN(RegisterSupportHostRequest); 84 DISALLOW_COPY_AND_ASSIGN(RegisterSupportHostRequest);
86 }; 85 };
87 86
88 } // namespace remoting 87 } // namespace remoting
89 88
90 #endif // REMOTING_HOST_SUPPORT_HOST_REGISTER_QUERY_H_ 89 #endif // REMOTING_HOST_REGISTER_SUPPORT_HOST_REQUEST_H_
OLDNEW
« no previous file with comments | « remoting/host/plugin/host_script_object.h ('k') | remoting/host/support_access_verifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698