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

Unified Diff: ppapi/cpp/private/network_list_private.h

Issue 10381002: Pepper: Make users of pp:NetworkMonitorPrivate less likely to leak resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: doh 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 | « no previous file | ppapi/cpp/private/network_list_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/private/network_list_private.h
diff --git a/ppapi/cpp/private/network_list_private.h b/ppapi/cpp/private/network_list_private.h
index d6143620d6bc0846de063f7b22649d89fe96b8cb..31cd9b598b8199b05f663e137a1d3c6b46fa44e6 100644
--- a/ppapi/cpp/private/network_list_private.h
+++ b/ppapi/cpp/private/network_list_private.h
@@ -9,6 +9,7 @@
#include <vector>
#include "ppapi/c/private/ppb_network_list_private.h"
+#include "ppapi/cpp/pass_ref.h"
#include "ppapi/cpp/resource.h"
namespace pp {
@@ -16,7 +17,7 @@ namespace pp {
class NetworkListPrivate : public Resource {
public:
NetworkListPrivate();
- explicit NetworkListPrivate(PP_Resource resource);
+ NetworkListPrivate(PassRef, PP_Resource resource);
/// Returns true if the required interface is available.
static bool IsAvailable();
« no previous file with comments | « no previous file | ppapi/cpp/private/network_list_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698