diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-22 22:20:35 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-22 22:20:35 +0000 |
commit | 2fbaecf27edd63f4f760581b798a99dcdf78a5eb (patch) | |
tree | a974662967015c83e63ccd7944aac2d2dc784b8f /jingle | |
parent | a063c102fd36f61f4a0a01447f4b01ace4ffccdf (diff) | |
download | chromium_src-2fbaecf27edd63f4f760581b798a99dcdf78a5eb.zip chromium_src-2fbaecf27edd63f4f760581b798a99dcdf78a5eb.tar.gz chromium_src-2fbaecf27edd63f4f760581b798a99dcdf78a5eb.tar.bz2 |
Net: Get rid of ProxyServer::host_and_port() and friends.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3032017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53403 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle')
-rw-r--r-- | jingle/notifier/communicator/login_settings.h | 4 | ||||
-rw-r--r-- | jingle/notifier/communicator/xmpp_connection_generator.cc | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/jingle/notifier/communicator/login_settings.h b/jingle/notifier/communicator/login_settings.h index 32ea038..e2200e9 100644 --- a/jingle/notifier/communicator/login_settings.h +++ b/jingle/notifier/communicator/login_settings.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -14,7 +14,7 @@ class XmppClientSettings; } namespace net { -struct HostPortPair; +class HostPortPair; class HostResolver; } diff --git a/jingle/notifier/communicator/xmpp_connection_generator.cc b/jingle/notifier/communicator/xmpp_connection_generator.cc index abadd35..5838840 100644 --- a/jingle/notifier/communicator/xmpp_connection_generator.cc +++ b/jingle/notifier/communicator/xmpp_connection_generator.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -119,7 +119,7 @@ void XmppConnectionGenerator::UseNextConnection() { const net::HostPortPair& server = server_list_[server_index_].server; net::HostResolver::RequestInfo request_info( - server.host, server.port); + server.host(), server.port()); int status = host_resolver_.Resolve( request_info, &address_list_, resolve_callback_.get(), @@ -175,9 +175,9 @@ void XmppConnectionGenerator::HandleServerDNSResolved(int status) { settings_index_ = -1; settings_list_->ClearPermutations(); settings_list_->AddPermutations( - server_list_[server_index_].server.host, + server_list_[server_index_].server.host(), ip_list, - server_list_[server_index_].server.port, + server_list_[server_index_].server.port(), server_list_[server_index_].special_port_magic, proxy_only_); } |