OLD | NEW |
---|---|
(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_ | |
OLD | NEW |