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

Side by Side Diff: ppapi/thunk/ppb_net_address_api.h

Issue 17419008: Move PPB_NetAddress out of dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/thunk/interfaces_ppb_public_stable.h ('k') | ppapi/thunk/ppb_net_address_dev_thunk.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_THUNK_PPB_NET_ADDRESS_API_H_ 5 #ifndef PPAPI_THUNK_PPB_NET_ADDRESS_API_H_
6 #define PPAPI_THUNK_PPB_NET_ADDRESS_API_H_ 6 #define PPAPI_THUNK_PPB_NET_ADDRESS_API_H_
7 7
8 #include "ppapi/c/dev/ppb_net_address_dev.h" 8 #include "ppapi/c/ppb_net_address.h"
9 #include "ppapi/thunk/ppapi_thunk_export.h" 9 #include "ppapi/thunk/ppapi_thunk_export.h"
10 10
11 struct PP_NetAddress_Private; 11 struct PP_NetAddress_Private;
12 12
13 namespace ppapi { 13 namespace ppapi {
14 namespace thunk { 14 namespace thunk {
15 15
16 class PPAPI_THUNK_EXPORT PPB_NetAddress_API { 16 class PPAPI_THUNK_EXPORT PPB_NetAddress_API {
17 public: 17 public:
18 virtual ~PPB_NetAddress_API() {} 18 virtual ~PPB_NetAddress_API() {}
19 19
20 virtual PP_NetAddress_Family_Dev GetFamily() = 0; 20 virtual PP_NetAddress_Family GetFamily() = 0;
21 virtual PP_Var DescribeAsString(PP_Bool include_port) = 0; 21 virtual PP_Var DescribeAsString(PP_Bool include_port) = 0;
22 virtual PP_Bool DescribeAsIPv4Address(PP_NetAddress_IPv4_Dev* ipv4_addr) = 0; 22 virtual PP_Bool DescribeAsIPv4Address(PP_NetAddress_IPv4* ipv4_addr) = 0;
23 virtual PP_Bool DescribeAsIPv6Address(PP_NetAddress_IPv6_Dev* ipv6_addr) = 0; 23 virtual PP_Bool DescribeAsIPv6Address(PP_NetAddress_IPv6* ipv6_addr) = 0;
24 24
25 virtual const PP_NetAddress_Private& GetNetAddressPrivate() = 0; 25 virtual const PP_NetAddress_Private& GetNetAddressPrivate() = 0;
26 }; 26 };
27 27
28 } // namespace thunk 28 } // namespace thunk
29 } // namespace ppapi 29 } // namespace ppapi
30 30
31 #endif // PPAPI_THUNK_PPB_NET_ADDRESS_API_H_ 31 #endif // PPAPI_THUNK_PPB_NET_ADDRESS_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_stable.h ('k') | ppapi/thunk/ppb_net_address_dev_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698