Don't add an aura tooltip to bubble close buttons on Windows.
[chromium-blink-merge.git] / ppapi / host / error_conversion.h
blobee02b118626267b40ff82861cfe25efc7a8e2e95
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
3 // found in the LICENSE file.
5 #ifndef PPAPI_HOST_ERROR_CONVERSION_H_
6 #define PPAPI_HOST_ERROR_CONVERSION_H_
8 #include "ppapi/c/pp_stdint.h"
9 #include "ppapi/host/ppapi_host_export.h"
11 namespace ppapi {
12 namespace host {
14 // Converts a net::Error code to a PP_Error code.
15 // Returns the same value as |net_error| if |net_error| is a positive number.
16 PPAPI_HOST_EXPORT int32_t NetErrorToPepperError(int net_error);
18 } // namespace host
19 } // namespace ppapi
21 #endif // PPAPI_HOST_ERROR_CONVERSION_H_