nileshagrawal@chromium.org | 62001b9 | 2012-05-18 05:09:06 +0900 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
michaelbai@google.com | 2251c62 | 2011-06-22 07:34:50 +0900 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "base/file_util.h" |
| 6 | |
brettw@chromium.org | 59eef1f | 2013-02-24 14:40:52 +0900 | [diff] [blame] | 7 | #include "base/files/file_path.h" |
nileshagrawal@chromium.org | 62001b9 | 2012-05-18 05:09:06 +0900 | [diff] [blame] | 8 | #include "base/path_service.h" |
michaelbai@google.com | 2251c62 | 2011-06-22 07:34:50 +0900 | [diff] [blame] | 9 | |
| 10 | namespace file_util { |
| 11 | |
brettw@chromium.org | 8738f01 | 2013-02-18 04:36:03 +0900 | [diff] [blame] | 12 | bool GetShmemTempDir(base::FilePath* path, bool executable) { |
nileshagrawal@chromium.org | 62001b9 | 2012-05-18 05:09:06 +0900 | [diff] [blame] | 13 | return PathService::Get(base::DIR_CACHE, path); |
michaelbai@google.com | 2251c62 | 2011-06-22 07:34:50 +0900 | [diff] [blame] | 14 | } |
| 15 | |
| 16 | } // namespace file_util |