cc: Added inline to Tile::IsReadyToDraw
[chromium-blink-merge.git] / ppapi / cpp / private / network_monitor_private.h
blob693bbcdc7fbb97f45172301a3b79f167befe20c8
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.
5 #ifndef PPAPI_CPP_PRIVATE_NETWORK_MONITOR_PRIVATE_H_
6 #define PPAPI_CPP_PRIVATE_NETWORK_MONITOR_PRIVATE_H_
8 #include "ppapi/c/private/ppb_network_monitor_private.h"
9 #include "ppapi/cpp/resource.h"
10 #include "ppapi/cpp/instance_handle.h"
12 namespace pp {
14 class Instance;
16 class NetworkMonitorPrivate : public Resource {
17 public:
18 NetworkMonitorPrivate(const InstanceHandle& instance,
19 PPB_NetworkMonitor_Callback callback,
20 void* user_data);
22 // Returns true if the required interface is available.
23 static bool IsAvailable();
26 } // namespace pp
28 #endif // PPAPI_CPP_PRIVATE_NETWORK_MONITOR_PRIVATE_H_