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

Side by Side Diff: jingle/notifier/communicator/xmpp_connection_generator.h

Issue 6993015: Add unit-tests for SingleRequestHostResolver. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: oops Created 9 years, 6 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 JINGLE_NOTIFIER_COMMUNICATOR_XMPP_CONNECTION_GENERATOR_H_ 5 #ifndef JINGLE_NOTIFIER_COMMUNICATOR_XMPP_CONNECTION_GENERATOR_H_
6 #define JINGLE_NOTIFIER_COMMUNICATOR_XMPP_CONNECTION_GENERATOR_H_ 6 #define JINGLE_NOTIFIER_COMMUNICATOR_XMPP_CONNECTION_GENERATOR_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "net/base/address_list.h" 11 #include "net/base/address_list.h"
12 #include "net/base/completion_callback.h" 12 #include "net/base/completion_callback.h"
13 #include "net/base/host_resolver.h" 13 #include "net/base/host_resolver.h"
14 #include "net/base/net_log.h" 14 #include "net/base/net_log.h"
15 #include "net/base/single_request_host_resolver.h"
15 #include "jingle/notifier/base/server_information.h" 16 #include "jingle/notifier/base/server_information.h"
16 17
17 namespace talk_base { 18 namespace talk_base {
18 struct ProxyInfo; 19 struct ProxyInfo;
19 class SignalThread; 20 class SignalThread;
20 } 21 }
21 22
22 namespace notifier { 23 namespace notifier {
23 24
24 class ConnectionOptions; 25 class ConnectionOptions;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 int first_dns_error_; 82 int first_dns_error_;
82 bool should_resolve_dns_; 83 bool should_resolve_dns_;
83 const ConnectionOptions* options_; 84 const ConnectionOptions* options_;
84 85
85 DISALLOW_COPY_AND_ASSIGN(XmppConnectionGenerator); 86 DISALLOW_COPY_AND_ASSIGN(XmppConnectionGenerator);
86 }; 87 };
87 88
88 } // namespace notifier 89 } // namespace notifier
89 90
90 #endif // JINGLE_NOTIFIER_COMMUNICATOR_XMPP_CONNECTION_GENERATOR_H_ 91 #endif // JINGLE_NOTIFIER_COMMUNICATOR_XMPP_CONNECTION_GENERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698