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

Unified Diff: content/renderer/pepper/pepper_plugin_delegate_impl.cc

Issue 10454058: Remove PPB_Transport_Dev API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « content/renderer/p2p/port_allocator.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_plugin_delegate_impl.cc
diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.cc b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
index d6a80c4506f8367b85a0084a0112bff9ca767979..630dc78cb5c97abab520940be4c443eb15ec0b84 100644
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
@@ -1159,7 +1159,7 @@ void PepperPluginDelegateImpl::UnregisterHostResolver(uint32 host_resolver_id) {
bool PepperPluginDelegateImpl::AddNetworkListObserver(
webkit_glue::NetworkListObserver* observer) {
-#if defined(ENABLE_P2P_APIS)
+#if defined(ENABLE_WEBRTC)
P2PSocketDispatcher* socket_dispatcher =
render_view_->p2p_socket_dispatcher();
if (!socket_dispatcher) {
@@ -1174,7 +1174,7 @@ bool PepperPluginDelegateImpl::AddNetworkListObserver(
void PepperPluginDelegateImpl::RemoveNetworkListObserver(
webkit_glue::NetworkListObserver* observer) {
-#if defined(ENABLE_P2P_APIS)
+#if defined(ENABLE_WEBRTC)
P2PSocketDispatcher* socket_dispatcher =
render_view_->p2p_socket_dispatcher();
if (socket_dispatcher)
« no previous file with comments | « content/renderer/p2p/port_allocator.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698