nileshagrawal@chromium.org | 0eae7eb | 2012-05-17 20:09:06 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
michaelbai@google.com | f7d6997 | 2011-06-21 22:34:50 | [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 | 5799981 | 2013-02-24 05:40:52 | [diff] [blame^] | 7 | #include "base/files/file_path.h" |
nileshagrawal@chromium.org | 0eae7eb | 2012-05-17 20:09:06 | [diff] [blame] | 8 | #include "base/path_service.h" |
michaelbai@google.com | f7d6997 | 2011-06-21 22:34:50 | [diff] [blame] | 9 | |
| 10 | namespace file_util { |
| 11 | |
brettw@chromium.org | aaa6df4 | 2013-02-17 19:36:03 | [diff] [blame] | 12 | bool GetShmemTempDir(base::FilePath* path, bool executable) { |
nileshagrawal@chromium.org | 0eae7eb | 2012-05-17 20:09:06 | [diff] [blame] | 13 | return PathService::Get(base::DIR_CACHE, path); |
michaelbai@google.com | f7d6997 | 2011-06-21 22:34:50 | [diff] [blame] | 14 | } |
| 15 | |
| 16 | } // namespace file_util |