blob: ee02b118626267b40ff82861cfe25efc7a8e2e95 [file] [log] [blame]
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ppapi/c/pp_stdint.h"
#include "ppapi/host/ppapi_host_export.h"
namespace ppapi {
namespace host {
// Converts a net::Error code to a PP_Error code.
// Returns the same value as |net_error| if |net_error| is a positive number.
PPAPI_HOST_EXPORT int32_t NetErrorToPepperError(int net_error);
} // namespace host
} // namespace ppapi