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

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
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698