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

Side by Side Diff: ppapi/tests/test_file_io.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/tests/test_file_io.h ('k') | ppapi/tests/test_file_ref.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/tests/test_file_io.h" 5 #include "ppapi/tests/test_file_io.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <fcntl.h> 8 #include <fcntl.h>
9 #include <stddef.h>
9 #include <stdio.h> 10 #include <stdio.h>
10 #include <string.h> 11 #include <string.h>
11 #include <sys/stat.h> 12 #include <sys/stat.h>
12 #include <sys/types.h> 13 #include <sys/types.h>
13 14
14 #include <algorithm> 15 #include <algorithm>
15 #include <vector> 16 #include <vector>
16 17
17 #include "ppapi/c/pp_errors.h" 18 #include "ppapi/c/pp_errors.h"
18 #include "ppapi/c/ppb_file_io.h" 19 #include "ppapi/c/ppb_file_io.h"
(...skipping 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after
1360 if ((invalid_combination && callback.result() == PP_OK) || 1361 if ((invalid_combination && callback.result() == PP_OK) ||
1361 (!invalid_combination && 1362 (!invalid_combination &&
1362 ((callback.result() == PP_OK) != create_if_doesnt_exist))) { 1363 ((callback.result() == PP_OK) != create_if_doesnt_exist))) {
1363 return ReportOpenError(open_flags); 1364 return ReportOpenError(open_flags);
1364 } 1365 }
1365 1366
1366 return std::string(); 1367 return std::string();
1367 } 1368 }
1368 1369
1369 // TODO(viettrungluu): Test Close(). crbug.com/69457 1370 // TODO(viettrungluu): Test Close(). crbug.com/69457
OLDNEW
« no previous file with comments | « ppapi/tests/test_file_io.h ('k') | ppapi/tests/test_file_ref.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698