Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 #ifndef PPAPI_PROXY_PP_UTILS_H_ | |
| 6 #define PPAPI_PROXY_PP_UTILS_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 | |
| 10 namespace ppapi { | |
| 11 namespace proxy { | |
| 12 | |
| 13 // When |private_api| is true, coverts all network-related errors +; | |
| 14 // PP_ERROR_NOACCESS to PP_ERROR_FAILED. Otherwise, returns |pp_error| | |
| 15 // as is. | |
| 16 int32_t ConvertPPError(int32_t pp_error, bool private_api); | |
|
yzshen1
2013/08/19 19:07:07
Maybe we should merge this into ppapi/host/error_c
ygorshenin1
2013/08/20 13:00:49
I've renamed this method, but not merged into ppap
yzshen1
2013/08/20 22:39:58
I think you could move error_conversion.h/cc into
ygorshenin1
2013/08/21 12:00:40
Done.
| |
| 17 | |
| 18 } // namespace proxy | |
| 19 } // namespace ppapi | |
| 20 | |
| 21 #endif // PPAPI_PROXY_PP_UTILS_H_ | |
| OLD | NEW |