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

Unified Diff: ppapi/cpp/network_monitor.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
Index: ppapi/cpp/network_monitor.h
diff --git a/ppapi/cpp/private/network_monitor_private.h b/ppapi/cpp/network_monitor.h
similarity index 56%
rename from ppapi/cpp/private/network_monitor_private.h
rename to ppapi/cpp/network_monitor.h
index b8fbe0f5c021f1ace154853f5f9766b13bd8631a..bce731d90d2e594b4bffb3e5d2e9a6f0056d5d86 100644
--- a/ppapi/cpp/private/network_monitor_private.h
+++ b/ppapi/cpp/network_monitor.h
@@ -2,25 +2,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef PPAPI_CPP_PRIVATE_NETWORK_MONITOR_PRIVATE_H_
-#define PPAPI_CPP_PRIVATE_NETWORK_MONITOR_PRIVATE_H_
+#ifndef PPAPI_CPP_NETWORK_MONITOR_H_
+#define PPAPI_CPP_NETWORK_MONITOR_H_
-#include "ppapi/cpp/resource.h"
#include "ppapi/cpp/instance_handle.h"
+#include "ppapi/cpp/resource.h"
namespace pp {
class Instance;
-class NetworkListPrivate;
+class NetworkList;
template <typename T> class CompletionCallbackWithOutput;
-class NetworkMonitorPrivate : public Resource {
+class NetworkMonitor : public Resource {
public:
- explicit NetworkMonitorPrivate(const InstanceHandle& instance);
+ explicit NetworkMonitor(const InstanceHandle& instance);
int32_t UpdateNetworkList(
- const CompletionCallbackWithOutput<NetworkListPrivate>& callback);
+ const CompletionCallbackWithOutput<NetworkList>& callback);
// Returns true if the required interface is available.
static bool IsAvailable();
@@ -28,4 +28,4 @@ class NetworkMonitorPrivate : public Resource {
} // namespace pp
-#endif // PPAPI_CPP_PRIVATE_NETWORK_MONITOR_PRIVATE_H_
+#endif // PPAPI_CPP_NETWORK_MONITOR_H_

Powered by Google App Engine
This is Rietveld 408576698