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

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
« no previous file with comments | « ppapi/cpp/private/network_list_private.cc ('k') | ppapi/cpp/private/network_monitor_private.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "ppapi/cpp/instance_handle.h"
11
12 namespace pp {
13
14 class Instance;
15
16 class NetworkMonitorPrivate : public Resource {
17 public:
18 NetworkMonitorPrivate(const InstanceHandle& instance,
19 PPB_NetworkMonitor_Callback callback,
20 void* user_data);
21
22 // Returns true if the required interface is available.
23 static bool IsAvailable();
24 };
25
26 } // namespace pp
27
28 #endif // PPAPI_CPP_PRIVATE_NETWORK_MONITOR_PRIVATE_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/private/network_list_private.cc ('k') | ppapi/cpp/private/network_monitor_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698