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

Side by Side Diff: base/files/file_path.cc

Issue 1549853002: Switch to standard integer types in base/files/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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/files/file_path.h ('k') | base/files/file_path_constants.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/files/file_path.h" 5 #include "base/files/file_path.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 #include <algorithm> 8 #include <algorithm>
9 9
10 #include "base/basictypes.h"
11 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/macros.h"
12 #include "base/pickle.h" 12 #include "base/pickle.h"
13 #include "base/strings/string_piece.h" 13 #include "base/strings/string_piece.h"
14 #include "base/strings/string_util.h" 14 #include "base/strings/string_util.h"
15 #include "base/strings/sys_string_conversions.h" 15 #include "base/strings/sys_string_conversions.h"
16 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "build/build_config.h"
17 18
18 #if defined(OS_MACOSX) 19 #if defined(OS_MACOSX)
19 #include "base/mac/scoped_cftyperef.h" 20 #include "base/mac/scoped_cftyperef.h"
20 #include "base/third_party/icu/icu_utf.h" 21 #include "base/third_party/icu/icu_utf.h"
21 #endif 22 #endif
22 23
23 #if defined(OS_WIN) 24 #if defined(OS_WIN)
24 #include <windows.h> 25 #include <windows.h>
25 #elif defined(OS_MACOSX) 26 #elif defined(OS_MACOSX)
26 #include <CoreFoundation/CoreFoundation.h> 27 #include <CoreFoundation/CoreFoundation.h>
(...skipping 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after
1312 #endif 1313 #endif
1313 } 1314 }
1314 1315
1315 #if defined(OS_ANDROID) 1316 #if defined(OS_ANDROID)
1316 bool FilePath::IsContentUri() const { 1317 bool FilePath::IsContentUri() const {
1317 return StartsWith(path_, "content://", base::CompareCase::INSENSITIVE_ASCII); 1318 return StartsWith(path_, "content://", base::CompareCase::INSENSITIVE_ASCII);
1318 } 1319 }
1319 #endif 1320 #endif
1320 1321
1321 } // namespace base 1322 } // namespace base
OLDNEW
« no previous file with comments | « base/files/file_path.h ('k') | base/files/file_path_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698