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

Side by Side Diff: ppapi/proxy/tcp_socket_resource_base.cc

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 12 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
« no previous file with comments | « ppapi/proxy/tcp_socket_resource_base.h ('k') | ppapi/proxy/tracked_callback_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ppapi/proxy/tcp_socket_resource_base.h" 5 #include "ppapi/proxy/tcp_socket_resource_base.h"
6 6
7 #include <cstring> 7 #include <cstring>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/macros.h"
11 #include "ppapi/c/pp_bool.h" 12 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_errors.h" 13 #include "ppapi/c/pp_errors.h"
13 #include "ppapi/proxy/error_conversion.h" 14 #include "ppapi/proxy/error_conversion.h"
14 #include "ppapi/proxy/ppapi_messages.h" 15 #include "ppapi/proxy/ppapi_messages.h"
15 #include "ppapi/shared_impl/ppapi_globals.h" 16 #include "ppapi/shared_impl/ppapi_globals.h"
16 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" 17 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h"
17 #include "ppapi/shared_impl/socket_option_data.h" 18 #include "ppapi/shared_impl/socket_option_data.h"
18 #include "ppapi/shared_impl/var.h" 19 #include "ppapi/shared_impl/var.h"
19 #include "ppapi/shared_impl/var_tracker.h" 20 #include "ppapi/shared_impl/var_tracker.h"
20 #include "ppapi/thunk/enter.h" 21 #include "ppapi/thunk/enter.h"
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 } 504 }
504 505
505 void TCPSocketResourceBase::RunCallback(scoped_refptr<TrackedCallback> callback, 506 void TCPSocketResourceBase::RunCallback(scoped_refptr<TrackedCallback> callback,
506 int32_t pp_result) { 507 int32_t pp_result) {
507 callback->Run(ConvertNetworkAPIErrorForCompatibility( 508 callback->Run(ConvertNetworkAPIErrorForCompatibility(
508 pp_result, version_ == TCP_SOCKET_VERSION_PRIVATE)); 509 pp_result, version_ == TCP_SOCKET_VERSION_PRIVATE));
509 } 510 }
510 511
511 } // namespace ppapi 512 } // namespace ppapi
512 } // namespace proxy 513 } // namespace proxy
OLDNEW
« no previous file with comments | « ppapi/proxy/tcp_socket_resource_base.h ('k') | ppapi/proxy/tracked_callback_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698