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

Side by Side Diff: chrome/common/net/notifier/communicator/xmpp_socket_adapter.cc

Issue 1956001: Moved XMPP notifier library from chrome/browser/sync to chrome/common.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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 | Annotate | Revision Log
OLDNEW
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 #include "chrome/browser/sync/notifier/communicator/xmpp_socket_adapter.h" 5 #include "chrome/common/net/notifier/communicator/xmpp_socket_adapter.h"
6 6
7 #include <iomanip> 7 #include <iomanip>
8 #include <string> 8 #include <string>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "chrome/browser/sync/notifier/base/ssl_adapter.h" 11 #include "chrome/common/net/notifier/base/ssl_adapter.h"
12 #include "chrome/browser/sync/notifier/communicator/product_info.h" 12 #include "chrome/common/net/notifier/communicator/product_info.h"
13 #include "talk/base/byteorder.h" 13 #include "talk/base/byteorder.h"
14 #include "talk/base/common.h" 14 #include "talk/base/common.h"
15 #include "talk/base/firewallsocketserver.h" 15 #include "talk/base/firewallsocketserver.h"
16 #include "talk/base/logging.h" 16 #include "talk/base/logging.h"
17 #include "talk/base/socketadapters.h" 17 #include "talk/base/socketadapters.h"
18 #include "talk/base/thread.h" 18 #include "talk/base/thread.h"
19 #include "talk/xmpp/xmppengine.h" 19 #include "talk/xmpp/xmppengine.h"
20 20
21 namespace notifier { 21 namespace notifier {
22 22
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 int wsa_error = 0; 418 int wsa_error = 0;
419 FlushWriteQueue(&error, &wsa_error); 419 FlushWriteQueue(&error, &wsa_error);
420 if (error != ERROR_NONE) { 420 if (error != ERROR_NONE) {
421 Close(); 421 Close();
422 return false; 422 return false;
423 } 423 }
424 return true; 424 return true;
425 } 425 }
426 426
427 } // namespace notifier 427 } // namespace notifier
OLDNEW
« no previous file with comments | « chrome/common/net/notifier/communicator/xmpp_socket_adapter.h ('k') | chrome/common/net/notifier/listener/listen_task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698