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 | |
| 7 | #include "base/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 | |
mcgrathr@chromium.org | 569a423 | 2011-12-07 03:07:05 +0900 | [diff] [blame] | 12 | bool GetShmemTempDir(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 |