Pepper_56_C++_interfaces
Pepper_56_C++_interfaces
 All Classes Namespaces Files Functions Typedefs Enumerations Macros Groups
network_monitor.h
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_NETWORK_MONITOR_H_
6 #define PPAPI_CPP_NETWORK_MONITOR_H_
7 
8 #include <stdint.h>
9 
11 #include "ppapi/cpp/resource.h"
12 
13 namespace pp {
14 
15 class Instance;
16 class NetworkList;
17 
18 template <typename T> class CompletionCallbackWithOutput;
19 
20 class NetworkMonitor : public Resource {
21  public:
22  explicit NetworkMonitor(const InstanceHandle& instance);
23 
24  int32_t UpdateNetworkList(
26 
27  // Returns true if the required interface is available.
28  static bool IsAvailable();
29 };
30 
31 } // namespace pp
32 
33 #endif // PPAPI_CPP_NETWORK_MONITOR_H_
Definition: completion_callback.h:189
Definition: network_monitor.h:20
Definition: instance_handle.h:44
A reference counted module resource.
Definition: resource.h:20