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

Side by Side Diff: ppapi/cpp/private/network_monitor_private.h

Issue 9545010: Add NetworkList/NetworkMonitor hooks and C++ wrappers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef PPAPI_CPP_PRIVATE_NETWORK_MONITOR_PRIVATE_H_
6 #define PPAPI_CPP_PRIVATE_NETWORK_MONITOR_PRIVATE_H_
7
8 #include "ppapi/c/private/ppb_network_monitor_private.h"
9 #include "ppapi/cpp/resource.h"
10
11 namespace pp {
12
13 class Instance;
14
15 class NetworkMonitorPrivate : public Resource {
16 public:
17 NetworkMonitorPrivate(Instance* instance,
dmichael (off chromium) 2012/03/02 16:43:12 Instance* should be InstanceHandle now. See: http:
Sergey Ulanov 2012/03/02 18:43:03 Done. Other code uses const refs for InstanceHandl
dmichael (off chromium) 2012/03/02 19:08:51 You could ask brettw if you want. I suspect you're
18 PPB_NetworkMonitor_Callback callback,
19 void* user_data);
20
21 // Returns true if the required interface is available.
22 static bool IsAvailable();
23 };
24
25 } // namespace pp
26
27 #endif // PPAPI_CPP_PRIVATE_NETWORK_MONITOR_PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698