OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_XMPP_SOCKET_ADAPTER_H_ | 5 #ifndef JINGLE_NOTIFIER_COMMUNICATOR_XMPP_SOCKET_ADAPTER_H_ |
6 #define CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_XMPP_SOCKET_ADAPTER_H_ | 6 #define JINGLE_NOTIFIER_COMMUNICATOR_XMPP_SOCKET_ADAPTER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "talk/base/asyncsocket.h" | 10 #include "talk/base/asyncsocket.h" |
11 #include "talk/xmpp/asyncsocket.h" | 11 #include "talk/xmpp/asyncsocket.h" |
12 #include "talk/xmpp/xmppclientsettings.h" | 12 #include "talk/xmpp/xmppclientsettings.h" |
13 #include "talk/xmpp/xmppengine.h" | 13 #include "talk/xmpp/xmppengine.h" |
14 | 14 |
15 #ifndef _WIN32 | 15 #ifndef _WIN32 |
16 // Additional errors used by us from Win32 headers. | 16 // Additional errors used by us from Win32 headers. |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 void QueueWriteData(const char* data, size_t len); | 77 void QueueWriteData(const char* data, size_t len); |
78 void FlushWriteQueue(Error* error, int* wsa_error); | 78 void FlushWriteQueue(Error* error, int* wsa_error); |
79 | 79 |
80 void SetError(Error error); | 80 void SetError(Error error); |
81 void SetWSAError(int error); | 81 void SetWSAError(int error); |
82 DISALLOW_COPY_AND_ASSIGN(XmppSocketAdapter); | 82 DISALLOW_COPY_AND_ASSIGN(XmppSocketAdapter); |
83 }; | 83 }; |
84 | 84 |
85 } // namespace notifier | 85 } // namespace notifier |
86 | 86 |
87 #endif // CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_XMPP_SOCKET_ADAPTER_H_ | 87 #endif // JINGLE_NOTIFIER_COMMUNICATOR_XMPP_SOCKET_ADAPTER_H_ |
OLD | NEW |