Searched refs:desktop_path (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/chrome/browser/
H A Dshell_integration_linux.cc149 base::FilePath desktop_path; local
150 if (!PathService::Get(base::DIR_USER_DESKTOP, &desktop_path))
153 int desktop_fd = open(desktop_path.value().c_str(), O_RDONLY | O_DIRECTORY);
186 base::FilePath desktop_path; local
187 if (PathService::Get(base::DIR_USER_DESKTOP, &desktop_path))
188 base::DeleteFile(desktop_path.Append(shortcut_filename), false);
636 base::FilePath desktop_path; local
637 // If Get returns false, just leave desktop_path empty.
638 PathService::Get(base::DIR_USER_DESKTOP, &desktop_path);
640 desktop_path);
643 GetExistingShortcutLocations( base::Environment* env, const base::FilePath& profile_path, const std::string& extension_id, const base::FilePath& desktop_path) argument
702 base::FilePath desktop_path; local
1057 base::FilePath desktop_path; local
[all...]
H A Dshell_integration_linux_unittest.cc184 base::FilePath desktop_path = temp_dir.path(); local
187 ASSERT_TRUE(base::CreateDirectory(desktop_path));
189 desktop_path.AppendASCII(kTemplateFilename),
192 &env, kProfilePath, kExtensionId, desktop_path);
246 base::FilePath desktop_path = temp_dir1.path(); local
253 ASSERT_TRUE(base::CreateDirectory(desktop_path));
255 desktop_path.AppendASCII(kTemplateFilename),
263 &env, kProfilePath, kExtensionId, desktop_path);
H A Dshell_integration_linux.h58 // If |desktop_path| is empty, the desktop is not searched.
63 const base::FilePath& desktop_path);
/external/chromium_org/chrome_elf/create_file/
H A Dchrome_create_file_unittest.cc376 base::FilePath desktop_path; local
377 PathService::Get(base::DIR_USER_DESKTOP, &desktop_path);
379 desktop_path.Append(L"Downloads\\junk.txt");
381 desktop_path.Append(L"Downloads\\Preferences");

Completed in 2959 milliseconds