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

Unified Diff: remoting/client/plugin/pepper_network_manager.h

Issue 23450012: Make NetworkList and NetworkMonitor APIs public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « ppapi/thunk/resource_creation_api.h ('k') | remoting/client/plugin/pepper_network_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/pepper_network_manager.h
diff --git a/remoting/client/plugin/pepper_network_manager.h b/remoting/client/plugin/pepper_network_manager.h
index 4bfe9457eefef756ce3c66de5e5f609905cf4ae4..7711eed662bc62fbd71b8d8ebefbe6ecc36ceee4 100644
--- a/remoting/client/plugin/pepper_network_manager.h
+++ b/remoting/client/plugin/pepper_network_manager.h
@@ -8,17 +8,17 @@
#include "base/compiler_specific.h"
#include "base/memory/weak_ptr.h"
#include "ppapi/cpp/instance_handle.h"
-#include "ppapi/cpp/private/network_monitor_private.h"
+#include "ppapi/cpp/network_monitor.h"
#include "ppapi/utility/completion_callback_factory.h"
#include "third_party/libjingle/source/talk/base/network.h"
namespace pp {
-class NetworkListPrivate;
+class NetworkList;
} // namespace pp
namespace remoting {
-// PepperNetworkManager uses the PPB_NetworkMonitor_Private API to
+// PepperNetworkManager uses the PPB_NetworkMonitor API to
// implement the NetworkManager interface that libjingle uses to
// monitor the host system's network interfaces.
class PepperNetworkManager : public talk_base::NetworkManagerBase {
@@ -34,11 +34,11 @@ class PepperNetworkManager : public talk_base::NetworkManagerBase {
static void OnNetworkListCallbackHandler(void* user_data,
PP_Resource list_resource);
- void OnNetworkList(int32_t result, const pp::NetworkListPrivate& list);
+ void OnNetworkList(int32_t result, const pp::NetworkList& list);
void SendNetworksChangedSignal();
- pp::NetworkMonitorPrivate monitor_;
+ pp::NetworkMonitor monitor_;
int start_count_;
bool network_list_received_;
« no previous file with comments | « ppapi/thunk/resource_creation_api.h ('k') | remoting/client/plugin/pepper_network_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698