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

Unified Diff: content/renderer/p2p/port_allocator.h

Issue 10209008: Roll libjingle 132:133 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « content/renderer/p2p/p2p_transport_impl.cc ('k') | content/renderer/p2p/port_allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/p2p/port_allocator.h
diff --git a/content/renderer/p2p/port_allocator.h b/content/renderer/p2p/port_allocator.h
index 350d87677c24de8550b3c33e2d5ff7a7388b5a82..ab0198d6216b460ee1472887bebb96d45dce011d 100644
--- a/content/renderer/p2p/port_allocator.h
+++ b/content/renderer/p2p/port_allocator.h
@@ -6,6 +6,7 @@
#define CONTENT_RENDERER_P2P_PORT_ALLOCATOR_H_
#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "net/base/net_util.h"
#include "third_party/libjingle/source/talk/p2p/client/basicportallocator.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLLoaderClient.h"
@@ -34,8 +35,8 @@ class P2PPortAllocator : public cricket::BasicPortAllocator {
virtual ~P2PPortAllocator();
virtual cricket::PortAllocatorSession* CreateSession(
- const std::string& name,
- const std::string& session_type) OVERRIDE;
+ const std::string& channel_name,
+ int component) OVERRIDE;
private:
friend class P2PPortAllocatorSession;
@@ -52,8 +53,8 @@ class P2PPortAllocatorSession : public cricket::BasicPortAllocatorSession,
public:
P2PPortAllocatorSession(
P2PPortAllocator* allocator,
- const std::string& name,
- const std::string& session_type);
+ const std::string& channel_name,
+ int candidate);
virtual ~P2PPortAllocatorSession();
// WebKit::WebURLLoaderClient overrides.
« no previous file with comments | « content/renderer/p2p/p2p_transport_impl.cc ('k') | content/renderer/p2p/port_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698