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

Unified Diff: jingle/notifier/base/xmpp_connection.cc

Issue 10817013: Move ChromeAsyncSocket to jingle/glue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « jingle/notifier/base/xmpp_client_socket_factory.cc ('k') | sync/sync.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: jingle/notifier/base/xmpp_connection.cc
diff --git a/jingle/notifier/base/xmpp_connection.cc b/jingle/notifier/base/xmpp_connection.cc
index 8ecdd9b7945f92aba5644019e0246a61c64f1382..f8f83fdea19457fa8f24805acb75c4a8a100783f 100644
--- a/jingle/notifier/base/xmpp_connection.cc
+++ b/jingle/notifier/base/xmpp_connection.cc
@@ -8,10 +8,10 @@
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/string_piece.h"
-#include "jingle/notifier/base/chrome_async_socket.h"
+#include "jingle/glue/chrome_async_socket.h"
+#include "jingle/glue/xmpp_client_socket_factory.h"
#include "jingle/notifier/base/task_pump.h"
#include "jingle/notifier/base/weak_xmpp_client.h"
-#include "jingle/notifier/base/xmpp_client_socket_factory.h"
#include "net/base/ssl_config_service.h"
#include "net/socket/client_socket_factory.h"
#include "net/url_request/url_request_context.h"
@@ -34,14 +34,14 @@ buzz::AsyncSocket* CreateSocket(
// XmppSocketAdapter.
const size_t kReadBufSize = 64U * 1024U;
const size_t kWriteBufSize = 64U * 1024U;
- XmppClientSocketFactory* const client_socket_factory =
- new XmppClientSocketFactory(
+ jingle_glue::XmppClientSocketFactory* const client_socket_factory =
+ new jingle_glue::XmppClientSocketFactory(
net::ClientSocketFactory::GetDefaultFactory(),
ssl_config,
request_context_getter,
use_fake_ssl_client_socket);
- return new ChromeAsyncSocket(client_socket_factory,
- kReadBufSize, kWriteBufSize);
+ return new jingle_glue::ChromeAsyncSocket(client_socket_factory,
+ kReadBufSize, kWriteBufSize);
}
} // namespace
« no previous file with comments | « jingle/notifier/base/xmpp_client_socket_factory.cc ('k') | sync/sync.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698