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

Side by Side Diff: base/base_paths_posix.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/base_paths_mac.mm ('k') | base/base_switches.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 // Defines base::PathProviderPosix, default path provider on POSIX OSes that 5 // Defines base::PathProviderPosix, default path provider on POSIX OSes that
6 // don't have their own base_paths_OS.cc implementation (i.e. all but Mac and 6 // don't have their own base_paths_OS.cc implementation (i.e. all but Mac and
7 // Android). 7 // Android).
8 8
9 #include <limits.h> 9 #include <limits.h>
10 #include <stddef.h>
10 11
11 #include <ostream> 12 #include <ostream>
12 #include <string> 13 #include <string>
13 14
14 #include "base/base_paths.h" 15 #include "base/base_paths.h"
15 #include "base/environment.h" 16 #include "base/environment.h"
16 #include "base/files/file_path.h" 17 #include "base/files/file_path.h"
17 #include "base/files/file_util.h" 18 #include "base/files/file_util.h"
18 #include "base/logging.h" 19 #include "base/logging.h"
19 #include "base/memory/scoped_ptr.h" 20 #include "base/memory/scoped_ptr.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 FilePath cache_dir(base::nix::GetXDGDirectory(env.get(), "XDG_CACHE_HOME", 110 FilePath cache_dir(base::nix::GetXDGDirectory(env.get(), "XDG_CACHE_HOME",
110 ".cache")); 111 ".cache"));
111 *result = cache_dir; 112 *result = cache_dir;
112 return true; 113 return true;
113 } 114 }
114 } 115 }
115 return false; 116 return false;
116 } 117 }
117 118
118 } // namespace base 119 } // namespace base
OLDNEW
« no previous file with comments | « base/base_paths_mac.mm ('k') | base/base_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698