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

Side by Side Diff: base/os_compat_android.cc

Issue 1538743002: Switch to standard integer types in base/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DEPS roll too 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 | « base/observer_list_threadsafe.h ('k') | base/path_service.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 (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 "base/os_compat_android.h" 5 #include "base/os_compat_android.h"
6 6
7 #include <asm/unistd.h> 7 #include <asm/unistd.h>
8 #include <errno.h> 8 #include <errno.h>
9 #include <limits.h>
9 #include <math.h> 10 #include <math.h>
10 #include <sys/stat.h> 11 #include <sys/stat.h>
11 #include <sys/syscall.h> 12 #include <sys/syscall.h>
12 13
13 #if !defined(__LP64__) 14 #if !defined(__LP64__)
14 #include <time64.h> 15 #include <time64.h>
15 #endif 16 #endif
16 17
17 #include "base/rand_util.h" 18 #include "base/rand_util.h"
18 #include "base/strings/string_piece.h" 19 #include "base/strings/string_piece.h"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 // The directory doesn't exist, but an error occured 168 // The directory doesn't exist, but an error occured
168 return NULL; 169 return NULL;
169 } 170 }
170 } 171 }
171 172
172 // We reached the max number of tries. 173 // We reached the max number of tries.
173 return NULL; 174 return NULL;
174 } 175 }
175 176
176 } // extern "C" 177 } // extern "C"
OLDNEW
« no previous file with comments | « base/observer_list_threadsafe.h ('k') | base/path_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698