OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2011 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 explicit NetworkMonitorPrivate(Instance* instance, | |
dmichael (off chromium)
2012/03/01 18:29:54
explicit isn't necessary.
Instance* should be Inst
Sergey Ulanov
2012/03/02 03:01:37
Done.
| |
18 PPB_NetworkMonitor_Callback callback, | |
19 void* user_data); | |
dmichael (off chromium)
2012/03/01 18:29:54
You may want to put a class in ppapi/utility that
Sergey Ulanov
2012/03/02 03:01:37
I agree that may be useful. Will do it later in a
| |
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 |