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

Side by Side Diff: ppapi/cpp/network_monitor.h

Issue 2539033005: ppapi: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing forward declaration in content/renderer/pepper Created 4 years 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
« no previous file with comments | « ppapi/cpp/instance.h ('k') | ppapi/cpp/private/ext_crx_file_system_private.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_CPP_NETWORK_MONITOR_H_ 5 #ifndef PPAPI_CPP_NETWORK_MONITOR_H_
6 #define PPAPI_CPP_NETWORK_MONITOR_H_ 6 #define PPAPI_CPP_NETWORK_MONITOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "ppapi/cpp/instance_handle.h" 10 #include "ppapi/cpp/instance_handle.h"
11 #include "ppapi/cpp/resource.h" 11 #include "ppapi/cpp/resource.h"
12 12
13 namespace pp { 13 namespace pp {
14 14
15 class Instance;
16 class NetworkList; 15 class NetworkList;
17 16
18 template <typename T> class CompletionCallbackWithOutput; 17 template <typename T> class CompletionCallbackWithOutput;
19 18
20 class NetworkMonitor : public Resource { 19 class NetworkMonitor : public Resource {
21 public: 20 public:
22 explicit NetworkMonitor(const InstanceHandle& instance); 21 explicit NetworkMonitor(const InstanceHandle& instance);
23 22
24 int32_t UpdateNetworkList( 23 int32_t UpdateNetworkList(
25 const CompletionCallbackWithOutput<NetworkList>& callback); 24 const CompletionCallbackWithOutput<NetworkList>& callback);
26 25
27 // Returns true if the required interface is available. 26 // Returns true if the required interface is available.
28 static bool IsAvailable(); 27 static bool IsAvailable();
29 }; 28 };
30 29
31 } // namespace pp 30 } // namespace pp
32 31
33 #endif // PPAPI_CPP_NETWORK_MONITOR_H_ 32 #endif // PPAPI_CPP_NETWORK_MONITOR_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/instance.h ('k') | ppapi/cpp/private/ext_crx_file_system_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698