Home | History | Annotate | Download | only in base

Lines Matching refs:Candidate

104   // Compare the candidate information.
289 // A new candidate is available, let listeners know
291 PortAllocatorSession *session, const std::vector<Candidate>& candidates) {
305 // candidate list. If it isn't return error to the stun request.
307 const Candidate *candidate = NULL;
311 candidate = &(*it);
315 if (candidate == NULL) {
330 Candidate new_remote_candidate = *candidate;
334 // This remote username exists. Now create connections using this candidate,
356 void P2PTransportChannel::OnCandidate(const Candidate& candidate) {
359 // Create connections to this remote candidate.
360 CreateConnections(candidate, NULL, false);
367 // remote candidate. The return value is true if we created a connection from
369 bool P2PTransportChannel::CreateConnections(const Candidate &remote_candidate,
374 // Add a new connection for this candidate to every port that allows such a
376 // already have a connection to an equivalent candidate. We must be careful
396 // Remember this remote candidate so that we can add it to future ports.
402 // Setup a connection object for the local and remote candidate combination.
405 const Candidate& remote_candidate,
413 // connection; however, the other side can send a duplicate candidate.
415 LOG(INFO) << "Attempt to change a remote candidate";
444 // Maintain our remote candidate list, adding this new remote one.
446 const Candidate& remote_candidate, Port* origin_port) {
452 LOG(INFO) << "Pruning candidate from old generation: "
460 // Make sure this candidate is not a duplicate.
463 LOG(INFO) << "Duplicate candidate: "
469 // Try this candidate for all future ports.
522 // Prepare for best candidate sorting