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

Side by Side Diff: remoting/signaling/xmpp_signal_strategy.h

Issue 1736633002: remoting: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months 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
« no previous file with comments | « remoting/signaling/server_log_entry.cc ('k') | remoting/signaling/xmpp_signal_strategy.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SIGNALING_XMPP_SIGNAL_STRATEGY_H_ 5 #ifndef REMOTING_SIGNALING_XMPP_SIGNAL_STRATEGY_H_
6 #define REMOTING_SIGNALING_XMPP_SIGNAL_STRATEGY_H_ 6 #define REMOTING_SIGNALING_XMPP_SIGNAL_STRATEGY_H_
7 7
8 #include "remoting/signaling/signal_strategy.h" 8 #include "remoting/signaling/signal_strategy.h"
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 14
15 namespace net { 15 namespace net {
16 class ClientSocketFactory; 16 class ClientSocketFactory;
17 class URLRequestContextGetter; 17 class URLRequestContextGetter;
18 } // namespace net 18 } // namespace net
19 19
20 namespace remoting { 20 namespace remoting {
21 21
22 // XmppSignalStrategy implements SignalStrategy using direct XMPP connection. 22 // XmppSignalStrategy implements SignalStrategy using direct XMPP connection.
23 class XmppSignalStrategy : public SignalStrategy { 23 class XmppSignalStrategy : public SignalStrategy {
24 public: 24 public:
25 // XMPP Server configuration for XmppSignalStrategy. 25 // XMPP Server configuration for XmppSignalStrategy.
26 struct XmppServerConfig { 26 struct XmppServerConfig {
27 XmppServerConfig(); 27 XmppServerConfig();
28 XmppServerConfig(const XmppServerConfig& other);
28 ~XmppServerConfig(); 29 ~XmppServerConfig();
29 30
30 std::string host; 31 std::string host;
31 int port; 32 int port;
32 bool use_tls; 33 bool use_tls;
33 34
34 std::string username; 35 std::string username;
35 std::string auth_token; 36 std::string auth_token;
36 }; 37 };
37 38
(...skipping 24 matching lines...) Expand all
62 class Core; 63 class Core;
63 64
64 scoped_ptr<Core> core_; 65 scoped_ptr<Core> core_;
65 66
66 DISALLOW_COPY_AND_ASSIGN(XmppSignalStrategy); 67 DISALLOW_COPY_AND_ASSIGN(XmppSignalStrategy);
67 }; 68 };
68 69
69 } // namespace remoting 70 } // namespace remoting
70 71
71 #endif // REMOTING_SIGNALING_XMPP_SIGNAL_STRATEGY_H_ 72 #endif // REMOTING_SIGNALING_XMPP_SIGNAL_STRATEGY_H_
OLDNEW
« no previous file with comments | « remoting/signaling/server_log_entry.cc ('k') | remoting/signaling/xmpp_signal_strategy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698