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

Unified Diff: chrome/common/net/notifier/communicator/connection_settings.cc

Issue 2255007: New libjingle integrated to chrome. (Closed)
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/net/notifier/base/task_pump.cc ('k') | chrome/common/net/notifier/communicator/login.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/notifier/communicator/connection_settings.cc
diff --git a/chrome/common/net/notifier/communicator/connection_settings.cc b/chrome/common/net/notifier/communicator/connection_settings.cc
index 00803224d69c6fdeee3e88880f753bf47421849d..39005a204904e0304b872f3567877f741f3ec13b 100644
--- a/chrome/common/net/notifier/communicator/connection_settings.cc
+++ b/chrome/common/net/notifier/communicator/connection_settings.cc
@@ -17,7 +17,7 @@ namespace notifier {
class RandomGenerator {
public:
int operator()(int ceiling) {
- return static_cast<int>(cricket::CreateRandomId() % ceiling);
+ return static_cast<int>(talk_base::CreateRandomId() % ceiling);
}
};
@@ -58,7 +58,7 @@ void ConnectionSettingsList::AddPermutations(const std::string& hostname,
// Permute addresses for this server. In some cases we haven't resolved the
// to ip addresses.
- talk_base::SocketAddress server(hostname, port, false);
+ talk_base::SocketAddress server(hostname, port);
if (iplist_random.empty()) {
// We couldn't pre-resolve the hostname, so let's hope it will resolve
// further down the pipeline (by a proxy, for example).
« no previous file with comments | « chrome/common/net/notifier/base/task_pump.cc ('k') | chrome/common/net/notifier/communicator/login.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698