/external/chromium_org/chrome/browser/ |
shell_integration_linux.cc | 138 base::FilePath desktop_path; local 139 if (!PathService::Get(base::DIR_USER_DESKTOP, &desktop_path)) 142 int desktop_fd = open(desktop_path.value().c_str(), O_RDONLY | O_DIRECTORY); 175 base::FilePath desktop_path; local 176 if (PathService::Get(base::DIR_USER_DESKTOP, &desktop_path)) 177 base::DeleteFile(desktop_path.Append(shortcut_filename), false); 587 base::FilePath desktop_path; local 588 // If Get returns false, just leave desktop_path empty. 589 PathService::Get(base::DIR_USER_DESKTOP, &desktop_path); 591 desktop_path); 655 base::FilePath desktop_path; local 951 base::FilePath desktop_path; local [all...] |
shell_integration_linux_unittest.cc | 184 base::FilePath desktop_path = temp_dir.path(); local 187 ASSERT_TRUE(base::CreateDirectory(desktop_path)); 189 desktop_path.AppendASCII(kTemplateFilename), 193 &env, kProfilePath, kExtensionId, desktop_path); 252 base::FilePath desktop_path = temp_dir1.path(); local 259 ASSERT_TRUE(base::CreateDirectory(desktop_path)); 261 desktop_path.AppendASCII(kTemplateFilename), 270 &env, kProfilePath, kExtensionId, desktop_path);
|
shell_integration_linux.h | 57 // If |desktop_path| is empty, the desktop is not searched. 62 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);
|