Chromium Code Reviews| Index: remoting/client/plugin/pepper_port_allocator.h |
| diff --git a/remoting/client/plugin/pepper_port_allocator.h b/remoting/client/plugin/pepper_port_allocator.h |
| index 214cea53dc1e2c533c0e9b6edb673292168b50cd..19e2e442a8fb62b6c77e3b2a4038ac08c64adea3 100644 |
| --- a/remoting/client/plugin/pepper_port_allocator.h |
| +++ b/remoting/client/plugin/pepper_port_allocator.h |
| @@ -13,9 +13,14 @@ |
| namespace remoting { |
| // An implementation of cricket::PortAllocator for libjingle that is |
| -// used by the client plugin. The main difference from |
| -// cricket::HttpPortAllocator is that it uses Pepper URLLoader API |
| -// when creating relay sessions. |
| +// used by the client plugin. There are two differences from |
| +// cricket::HttpPortAllocator: |
| +// * PepperPortAllocator uses Pepper URLLoader API when creating |
| +// relay sessions. |
| +// * PepperPortAllocator resolves STUN IP addresses before passing |
|
Wez
2012/05/15 23:11:29
nit: Presumably it resolves STUN host DNS names, n
Sergey Ulanov
2012/05/16 00:22:30
Done.
|
| +// them to BasicPortAllocator (it uses HostResolverPrivate API for that). |
| +// This is needed because libjingle's DNS resolution code doesn't work |
| +// in sandbox. |
| class PepperPortAllocator : public cricket::HttpPortAllocatorBase { |
| public: |
| static scoped_ptr<PepperPortAllocator> Create( |