| Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_printing_rpc_server.cc
|
| diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_printing_rpc_server.cc b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_printing_rpc_server.cc
|
| index ae6d95b6cbf862182a22dd19ffdd9ca3db810bb2..afd36ed6703cd384c3b6611250a09f60bcd4fbd4 100644
|
| --- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_printing_rpc_server.cc
|
| +++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_printing_rpc_server.cc
|
| @@ -106,3 +106,22 @@ void PppPrintingRpcServer::PPP_Printing_End(
|
| DebugPrintf("PPP_Printing::End\n");
|
| rpc->result = NACL_SRPC_RESULT_OK;
|
| }
|
| +
|
| +void PppPrintingRpcServer::PPP_Printing_IsScalingDisabled(
|
| + NaClSrpcRpc* rpc,
|
| + NaClSrpcClosure* done,
|
| + // inputs
|
| + PP_Instance instance,
|
| + // outputs
|
| + int32_t* /*PP_Bool*/ scaling_disabled) {
|
| + rpc->result = NACL_SRPC_RESULT_APP_ERROR;
|
| + NaClSrpcClosureRunner runner(done);
|
| +
|
| + PP_Bool pp_scaling_disabled =
|
| + PPPPrintingInterface()->IsScalingDisabled(instance);
|
| + *scaling_disabled = pp_scaling_disabled == PP_TRUE;
|
| +
|
| + DebugPrintf("PPP_Printing::IsScalingDisabled: scaling_disabled=%d\n",
|
| + pp_scaling_disabled);
|
| + rpc->result = NACL_SRPC_RESULT_OK;
|
| +}
|
|
|