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

Side by Side Diff: remoting/protocol/connection_to_host_impl.h

Issue 1238343002: Added ConnectionTimeObserver to calculate the times to authenticate and connect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved ConnectionStateToFriendlyString to ConnectionToHostImpl and Added environment class to main. Created 5 years, 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PROTOCOL_CONNECTION_TO_HOST_IMPL_H_ 5 #ifndef REMOTING_PROTOCOL_CONNECTION_TO_HOST_IMPL_H_
6 #define REMOTING_PROTOCOL_CONNECTION_TO_HOST_IMPL_H_ 6 #define REMOTING_PROTOCOL_CONNECTION_TO_HOST_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 19 matching lines...) Expand all
30 class XmppProxy; 30 class XmppProxy;
31 class VideoPacket; 31 class VideoPacket;
32 32
33 namespace protocol { 33 namespace protocol {
34 34
35 class AudioReader; 35 class AudioReader;
36 class ClientControlDispatcher; 36 class ClientControlDispatcher;
37 class ClientEventDispatcher; 37 class ClientEventDispatcher;
38 class ClientVideoDispatcher; 38 class ClientVideoDispatcher;
39 39
40 const char* ConnectionStateToFriendlyString(
Sergey Ulanov 2015/07/29 00:56:23 Make this static method in ConnectionToHost?
tonychun 2015/07/29 16:10:13 Done.
41 remoting::protocol::ConnectionToHost::State state);
42
43 const char* ProtocolErrorToFriendlyString(
44 remoting::protocol::ErrorCode error_code);
joedow 2015/07/28 23:09:05 I'm wondering if this should be in connection_to_h
Sergey Ulanov 2015/07/29 00:56:23 Yeah, I don't think it belongs in this file. Move
tonychun 2015/07/29 16:10:13 I've added an Error class which also has a static
45
40 class ConnectionToHostImpl : public ConnectionToHost, 46 class ConnectionToHostImpl : public ConnectionToHost,
41 public SignalStrategy::Listener, 47 public SignalStrategy::Listener,
42 public SessionManager::Listener, 48 public SessionManager::Listener,
43 public Session::EventHandler, 49 public Session::EventHandler,
44 public ChannelDispatcherBase::EventHandler, 50 public ChannelDispatcherBase::EventHandler,
45 public base::NonThreadSafe { 51 public base::NonThreadSafe {
46 public: 52 public:
47 ConnectionToHostImpl(); 53 ConnectionToHostImpl();
48 ~ConnectionToHostImpl() override; 54 ~ConnectionToHostImpl() override;
49 55
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 ErrorCode error_; 133 ErrorCode error_;
128 134
129 private: 135 private:
130 DISALLOW_COPY_AND_ASSIGN(ConnectionToHostImpl); 136 DISALLOW_COPY_AND_ASSIGN(ConnectionToHostImpl);
131 }; 137 };
132 138
133 } // namespace protocol 139 } // namespace protocol
134 } // namespace remoting 140 } // namespace remoting
135 141
136 #endif // REMOTING_PROTOCOL_CONNECTION_TO_HOST_IMPL_H_ 142 #endif // REMOTING_PROTOCOL_CONNECTION_TO_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/protocol/connection_to_host_impl.cc » ('j') | remoting/protocol/connection_to_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698