123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- #ifndef CHROME_COMMON_CHROME_PATHS_INTERNAL_H_
- #define CHROME_COMMON_CHROME_PATHS_INTERNAL_H_
- #include <string>
- #include "build/build_config.h"
- #if defined(OS_MACOSX)
- #if defined(__OBJC__)
- @class NSBundle;
- #else
- class NSBundle;
- #endif
- #endif
- namespace base {
- class FilePath;
- }
- namespace chrome {
- bool GetDefaultUserDataDirectory(base::FilePath* result);
- void GetUserCacheDirectory(const base::FilePath& profile_dir,
- base::FilePath* result);
- bool GetUserDocumentsDirectory(base::FilePath* result);
- #if defined(OS_WIN) || defined(OS_LINUX)
- bool GetUserDownloadsDirectorySafe(base::FilePath* result);
- #endif
- bool GetUserDownloadsDirectory(base::FilePath* result);
- bool GetUserMusicDirectory(base::FilePath* result);
- bool GetUserPicturesDirectory(base::FilePath* result);
- bool GetUserVideosDirectory(base::FilePath* result);
- #if defined(OS_MACOSX) && !defined(OS_IOS)
- base::FilePath GetVersionedDirectory();
- void SetOverrideVersionedDirectory(const base::FilePath* path);
- base::FilePath GetFrameworkBundlePath();
- bool GetLocalLibraryDirectory(base::FilePath* result);
- bool GetUserLibraryDirectory(base::FilePath* result);
- bool GetUserApplicationsDirectory(base::FilePath* result);
- bool GetGlobalApplicationSupportDirectory(base::FilePath* result);
- NSBundle* OuterAppBundle();
- bool GetUserDataDirectoryForBrowserBundle(NSBundle* bundle,
- base::FilePath* result);
- #endif
- bool ProcessNeedsProfileDir(const std::string& process_type);
- }
- #endif
|