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

Side by Side Diff: ppapi/proxy/url_response_info_resource.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 5 years 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/url_response_info_resource.h ('k') | ppapi/proxy/video_capture_resource.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/url_response_info_resource.h" 5 #include "ppapi/proxy/url_response_info_resource.h"
6 6
7 #include <stdint.h>
8
7 #include "ppapi/proxy/file_ref_resource.h" 9 #include "ppapi/proxy/file_ref_resource.h"
8 #include "ppapi/shared_impl/var.h" 10 #include "ppapi/shared_impl/var.h"
9 #include "ppapi/thunk/enter.h" 11 #include "ppapi/thunk/enter.h"
10 #include "ppapi/thunk/resource_creation_api.h" 12 #include "ppapi/thunk/resource_creation_api.h"
11 13
12 namespace ppapi { 14 namespace ppapi {
13 namespace proxy { 15 namespace proxy {
14 16
15 namespace { 17 namespace {
16 18
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 PP_Resource URLResponseInfoResource::GetBodyAsFileRef() { 66 PP_Resource URLResponseInfoResource::GetBodyAsFileRef() {
65 if (!body_as_file_ref_.get()) 67 if (!body_as_file_ref_.get())
66 return 0; 68 return 0;
67 PpapiGlobals::Get()->GetResourceTracker()->AddRefResource( 69 PpapiGlobals::Get()->GetResourceTracker()->AddRefResource(
68 body_as_file_ref_.get()); 70 body_as_file_ref_.get());
69 return body_as_file_ref_.get(); 71 return body_as_file_ref_.get();
70 } 72 }
71 73
72 } // namespace proxy 74 } // namespace proxy
73 } // namespace ppapi 75 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/url_response_info_resource.h ('k') | ppapi/proxy/video_capture_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698