electron/brightray/browser/brightray_paths.h

44 lines
980 B
C
Raw Normal View History

2015-01-19 00:59:57 +00:00
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BROWSER_BRIGHTRAY_PATHS_H_
#define BROWSER_BRIGHTRAY_PATHS_H_
2015-01-19 01:19:25 +00:00
#if defined(OS_WIN)
#include "base/base_paths_win.h"
#elif defined(OS_MACOSX)
#include "base/base_paths_mac.h"
#endif
#if defined(OS_POSIX)
#include "base/base_paths_posix.h"
#endif
2015-01-19 00:59:57 +00:00
namespace brightray {
enum {
2016-01-11 02:40:20 +00:00
PATH_START = 11000,
2015-01-19 00:59:57 +00:00
DIR_USER_DATA = PATH_START, // Directory where user data can be written.
DIR_USER_CACHE, // Directory where user cache can be written.
2015-01-19 00:59:57 +00:00
2015-01-19 01:19:25 +00:00
#if defined(OS_LINUX)
DIR_APP_DATA, // Application Data directory under the user profile.
#else
DIR_APP_DATA = base::DIR_APP_DATA,
#endif
#if defined(OS_POSIX)
DIR_CACHE = base::DIR_CACHE, // Directory where to put cache data.
#else
DIR_CACHE = base::DIR_APP_DATA,
#endif
2015-01-19 00:59:57 +00:00
PATH_END
};
} // namespace brightray
#endif // BROWSER_BRIGHTRAY_PATHS_H_