/external/chromium_org/chrome/browser/ |
shell_integration_linux.cc | 137 base::FilePath desktop_path; local 138 if (!PathService::Get(base::DIR_USER_DESKTOP, &desktop_path)) 141 int desktop_fd = open(desktop_path.value().c_str(), O_RDONLY | O_DIRECTORY); 174 base::FilePath desktop_path; local 175 if (PathService::Get(base::DIR_USER_DESKTOP, &desktop_path)) 176 base::DeleteFile(desktop_path.Append(shortcut_filename), false); 574 base::FilePath desktop_path; local 575 // If Get returns false, just leave desktop_path empty. 576 PathService::Get(base::DIR_USER_DESKTOP, &desktop_path); 578 desktop_path); 639 base::FilePath desktop_path; local 925 base::FilePath desktop_path; local [all...] |
shell_integration_unittest.cc | 187 base::FilePath desktop_path = temp_dir.path(); local 190 ASSERT_TRUE(file_util::CreateDirectory(desktop_path)); 192 desktop_path.AppendASCII(kTemplateFilename), 196 &env, kProfilePath, kExtensionId, desktop_path); 250 base::FilePath desktop_path = temp_dir1.path(); local 257 ASSERT_TRUE(file_util::CreateDirectory(desktop_path)); 259 desktop_path.AppendASCII(kTemplateFilename), 268 &env, kProfilePath, kExtensionId, desktop_path);
|
shell_integration_linux.h | 52 // If |desktop_path| is empty, the desktop is not searched. 57 const base::FilePath& desktop_path);
|
/external/chromium/chrome/browser/ |
shell_integration_linux.cc | 117 FilePath desktop_path; local 118 if (!PathService::Get(chrome::DIR_USER_DESKTOP, &desktop_path)) 121 int desktop_fd = open(desktop_path.value().c_str(), O_RDONLY | O_DIRECTORY); 345 FilePath desktop_path; local 346 if (!PathService::Get(chrome::DIR_USER_DESKTOP, &desktop_path)) 349 FilePath filepath = desktop_path.Append(filename);
|