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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/ppb_rpc.h

Issue 9704080: HostResolver is exposed to Native Client. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Sync. 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
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 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING 5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
6 // 6 //
7 // Automatically generated code. See srpcgen.py 7 // Automatically generated code. See srpcgen.py
8 // 8 //
9 // NaCl Simple Remote Procedure Call interface abstractions. 9 // NaCl Simple Remote Procedure Call interface abstractions.
10 10
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 int32_t id, 578 int32_t id,
579 NaClSrpcImcDescType* shm_desc, 579 NaClSrpcImcDescType* shm_desc,
580 int32_t* shm_size); 580 int32_t* shm_size);
581 581
582 private: 582 private:
583 PpbGraphics3DRpcClient(); 583 PpbGraphics3DRpcClient();
584 PpbGraphics3DRpcClient(const PpbGraphics3DRpcClient&); 584 PpbGraphics3DRpcClient(const PpbGraphics3DRpcClient&);
585 void operator=(const PpbGraphics3DRpcClient); 585 void operator=(const PpbGraphics3DRpcClient);
586 }; // class PpbGraphics3DRpcClient 586 }; // class PpbGraphics3DRpcClient
587 587
588 class PpbHostResolverPrivateRpcClient {
589 public:
590 static NaClSrpcError PPB_HostResolver_Private_Create(
591 NaClSrpcChannel* channel,
592 PP_Instance instance,
593 PP_Resource* resource);
594 static NaClSrpcError PPB_HostResolver_Private_IsHostResolver(
595 NaClSrpcChannel* channel,
596 PP_Resource resource,
597 int32_t* is_host_resolver);
598 static NaClSrpcError PPB_HostResolver_Private_Resolve(
599 NaClSrpcChannel* channel,
600 PP_Resource host_resolver,
601 const char* host,
602 int32_t port,
603 nacl_abi_size_t hint_bytes, char* hint,
604 int32_t callback_id,
605 int32_t* pp_error);
606 static NaClSrpcError PPB_HostResolver_Private_GetCanonicalName(
607 NaClSrpcChannel* channel,
608 PP_Resource host_resolver,
609 nacl_abi_size_t* canonical_name_bytes, char* canonical_name);
610 static NaClSrpcError PPB_HostResolver_Private_GetSize(
611 NaClSrpcChannel* channel,
612 PP_Resource host_resolver,
613 int32_t* size);
614 static NaClSrpcError PPB_HostResolver_Private_GetNetAddress(
615 NaClSrpcChannel* channel,
616 PP_Resource host_resolver,
617 int32_t index,
618 nacl_abi_size_t* addr_bytes, char* addr,
619 int32_t* success);
620
621 private:
622 PpbHostResolverPrivateRpcClient();
623 PpbHostResolverPrivateRpcClient(const PpbHostResolverPrivateRpcClient&);
624 void operator=(const PpbHostResolverPrivateRpcClient);
625 }; // class PpbHostResolverPrivateRpcClient
626
588 class PpbImageDataRpcClient { 627 class PpbImageDataRpcClient {
589 public: 628 public:
590 static NaClSrpcError PPB_ImageData_GetNativeImageDataFormat( 629 static NaClSrpcError PPB_ImageData_GetNativeImageDataFormat(
591 NaClSrpcChannel* channel, 630 NaClSrpcChannel* channel,
592 int32_t* format); 631 int32_t* format);
593 static NaClSrpcError PPB_ImageData_IsImageDataFormatSupported( 632 static NaClSrpcError PPB_ImageData_IsImageDataFormatSupported(
594 NaClSrpcChannel* channel, 633 NaClSrpcChannel* channel,
595 int32_t format, 634 int32_t format,
596 int32_t* success); 635 int32_t* success);
597 static NaClSrpcError PPB_ImageData_Create( 636 static NaClSrpcError PPB_ImageData_Create(
(...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after
1299 PpbZoomRpcClient(); 1338 PpbZoomRpcClient();
1300 PpbZoomRpcClient(const PpbZoomRpcClient&); 1339 PpbZoomRpcClient(const PpbZoomRpcClient&);
1301 void operator=(const PpbZoomRpcClient); 1340 void operator=(const PpbZoomRpcClient);
1302 }; // class PpbZoomRpcClient 1341 }; // class PpbZoomRpcClient
1303 1342
1304 1343
1305 1344
1306 1345
1307 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ 1346 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_
1308 1347
OLDNEW
« no previous file with comments | « ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h ('k') | ppapi/ppapi_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698