blob: b8b3b3720fb62b2f31e7a000d3879e3c0eb806f1 [file] [log] [blame]
nileshagrawal@chromium.org62001b92012-05-18 05:09:06 +09001// Copyright (c) 2012 The Chromium Authors. All rights reserved.
michaelbai@google.com2251c622011-06-22 07:34:50 +09002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
brettw@chromium.org01f3da42014-08-14 05:22:14 +09005#include "base/files/file_util.h"
michaelbai@google.com2251c622011-06-22 07:34:50 +09006
brettw@chromium.org59eef1f2013-02-24 14:40:52 +09007#include "base/files/file_path.h"
nileshagrawal@chromium.org62001b92012-05-18 05:09:06 +09008#include "base/path_service.h"
michaelbai@google.com2251c622011-06-22 07:34:50 +09009
brettw@chromium.org83c44c82013-12-03 03:55:49 +090010namespace base {
michaelbai@google.com2251c622011-06-22 07:34:50 +090011
brettw@chromium.org83c44c82013-12-03 03:55:49 +090012bool GetShmemTempDir(bool executable, base::FilePath* path) {
nileshagrawal@chromium.org62001b92012-05-18 05:09:06 +090013 return PathService::Get(base::DIR_CACHE, path);
michaelbai@google.com2251c622011-06-22 07:34:50 +090014}
15
brettw@chromium.org83c44c82013-12-03 03:55:49 +090016} // namespace base