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

Side by Side Diff: ppapi/proxy/pp_utils.h

Issue 22923014: TCPSockets are switched to the new Pepper proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Deleted logging. Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698