| OLD | NEW |
| 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_LIST_H_ | 5 #ifndef PPAPI_CPP_NETWORK_LIST_H_ |
| 6 #define PPAPI_CPP_NETWORK_LIST_H_ | 6 #define PPAPI_CPP_NETWORK_LIST_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 #include <vector> | 11 #include <vector> |
| 10 | 12 |
| 11 #include "ppapi/c/ppb_network_list.h" | 13 #include "ppapi/c/ppb_network_list.h" |
| 12 #include "ppapi/cpp/pass_ref.h" | 14 #include "ppapi/cpp/pass_ref.h" |
| 13 #include "ppapi/cpp/resource.h" | 15 #include "ppapi/cpp/resource.h" |
| 14 | 16 |
| 15 namespace pp { | 17 namespace pp { |
| 16 | 18 |
| 17 class NetAddress; | 19 class NetAddress; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 std::string GetDisplayName(uint32_t index) const; | 53 std::string GetDisplayName(uint32_t index) const; |
| 52 | 54 |
| 53 /// @return Returns the MTU for the network interface with the | 55 /// @return Returns the MTU for the network interface with the |
| 54 /// specified <code>index</code>. | 56 /// specified <code>index</code>. |
| 55 uint32_t GetMTU(uint32_t index) const; | 57 uint32_t GetMTU(uint32_t index) const; |
| 56 }; | 58 }; |
| 57 | 59 |
| 58 } // namespace pp | 60 } // namespace pp |
| 59 | 61 |
| 60 #endif // PPAPI_CPP_NETWORK_LIST_H_ | 62 #endif // PPAPI_CPP_NETWORK_LIST_H_ |
| OLD | NEW |