Home | History | Annotate | Download | only in common

Lines Matching refs:result

21 bool GetDefaultUserDataDirectory(FilePath* result) {
22 if (!PathService::Get(base::DIR_LOCAL_APP_DATA, result))
25 *result = result->Append(dist->GetInstallSubDir());
26 *result = result->Append(chrome::kUserDataDirname);
30 bool GetChromeFrameUserDataDirectory(FilePath* result) {
31 if (!PathService::Get(base::DIR_LOCAL_APP_DATA, result))
35 *result = result->Append(dist->GetInstallSubDir());
36 *result = result->Append(chrome::kUserDataDirname);
40 void GetUserCacheDirectory(const FilePath& profile_dir, FilePath* result) {
42 *result = profile_dir;
45 bool GetUserDocumentsDirectory(FilePath* result) {
50 *result = FilePath(path_buf);
58 bool GetUserDownloadsDirectorySafe(FilePath* result) {
59 if (!GetUserDocumentsDirectory(result))
62 *result = result->Append(L"Downloads");
69 bool GetUserDownloadsDirectory(FilePath* result) {
76 *result = FilePath(std::wstring(path_buf));
79 return GetUserDownloadsDirectorySafe(result);
82 bool GetUserDesktop(FilePath* result) {
93 *result = FilePath(system_buffer);