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

/external/chromium_org/chrome/browser/
H A Dshell_integration_linux.cc138 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);
594 GetExistingShortcutLocations( base::Environment* env, const base::FilePath& profile_path, const std::string& extension_id, const base::FilePath& desktop_path) argument
655 base::FilePath desktop_path; local
951 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),
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);
H A Dshell_integration_linux.h57 // If |desktop_path| is empty, the desktop is not searched.
62 const base::FilePath& desktop_path);
/external/chromium/chrome/browser/
H A Dshell_integration_linux.cc117 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);

Completed in 183 milliseconds