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

Side by Side Diff: ppapi/proxy/nacl_message_scanner_unittest.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/nacl_message_scanner.cc ('k') | ppapi/proxy/net_address_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 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 <stdint.h>
6
5 #include "ipc/ipc_message.h" 7 #include "ipc/ipc_message.h"
6 #include "ppapi/proxy/nacl_message_scanner.h" 8 #include "ppapi/proxy/nacl_message_scanner.h"
7 #include "ppapi/proxy/ppapi_messages.h" 9 #include "ppapi/proxy/ppapi_messages.h"
8 #include "ppapi/proxy/ppapi_proxy_test.h" 10 #include "ppapi/proxy/ppapi_proxy_test.h"
9 #include "ppapi/proxy/serialized_handle.h" 11 #include "ppapi/proxy/serialized_handle.h"
10 #include "ppapi/shared_impl/host_resource.h" 12 #include "ppapi/shared_impl/host_resource.h"
11 13
12 namespace ppapi { 14 namespace ppapi {
13 namespace proxy { 15 namespace proxy {
14 16
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 UnpackMessage<PpapiHostMsg_FileIO_SetLength>( 261 UnpackMessage<PpapiHostMsg_FileIO_SetLength>(
260 nested_msg, &length)); 262 nested_msg, &length));
261 new_msg_ptr.reset(); 263 new_msg_ptr.reset();
262 EXPECT_EQ(-1, length); 264 EXPECT_EQ(-1, length);
263 EXPECT_EQ(kQuotaReservationAmount - kNewFileSize, fs->reserved_quota()); 265 EXPECT_EQ(kQuotaReservationAmount - kNewFileSize, fs->reserved_quota());
264 EXPECT_EQ(kNewFileSize, fio->max_written_offset()); 266 EXPECT_EQ(kNewFileSize, fio->max_written_offset());
265 } 267 }
266 268
267 } // namespace proxy 269 } // namespace proxy
268 } // namespace ppapi 270 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/nacl_message_scanner.cc ('k') | ppapi/proxy/net_address_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698