OLD | NEW |
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/file_util.h" | 5 #include "base/file_util.h" |
6 | 6 |
| 7 #include "base/base_paths_posix.h" |
7 #include "base/file_path.h" | 8 #include "base/file_path.h" |
8 #include "base/path_service.h" | 9 #include "base/path_service.h" |
9 | 10 |
10 namespace file_util { | 11 namespace file_util { |
11 | 12 |
12 bool GetShmemTempDir(FilePath* path, bool executable) { | 13 bool GetShmemTempDir(FilePath* path, bool executable) { |
13 return PathService::Get(base::DIR_CACHE, path); | 14 return PathService::Get(base::DIR_CACHE, path); |
14 } | 15 } |
15 | 16 |
16 } // namespace file_util | 17 } // namespace file_util |
OLD | NEW |