Index: chrome/browser/shell_integration_linux.h |
=================================================================== |
--- chrome/browser/shell_integration_linux.h (revision 146065) |
+++ chrome/browser/shell_integration_linux.h (working copy) |
@@ -26,13 +26,8 @@ |
std::string* output); |
// Returns filename for .desktop file based on |url|, sanitized for security. |
-FilePath GetWebShortcutFilename(const GURL& url); |
+FilePath GetDesktopShortcutFilename(const GURL& url); |
-// Returns filename for .desktop file based on |profile_path| and |
-// |extension_id|, sanitized for security. |
-FilePath GetExtensionShortcutFilename(const FilePath& profile_path, |
- const std::string& extension_id); |
- |
// Returns contents for .desktop file based on |template_contents|, |url| |
// and |title|. The |template_contents| should be contents of .desktop file |
// used to launch Chrome. |
@@ -46,20 +41,9 @@ |
const std::string& icon_name, |
const FilePath& profile_path); |
- |
-// Create shortcuts on the desktop or in the application menu (as specified by |
-// |shortcut_info|), for the web page or extension in |shortcut_info|. Use the |
-// shortcut template contained in |shortcut_template|. |
-// For extensions, duplicate shortcuts are avoided, so if a requested shortcut |
-// already exists it is deleted first. |
bool CreateDesktopShortcut(const ShellIntegration::ShortcutInfo& shortcut_info, |
const std::string& shortcut_template); |
-// Delete any desktop shortcuts on desktop or in the application menu that have |
-// been added for the extension with |extension_id| in |profile_path|. |
-void DeleteDesktopShortcuts(const FilePath& profile_path, |
- const std::string& extension_id); |
- |
} // namespace ShellIntegrationLinux |
#endif // CHROME_BROWSER_SHELL_INTEGRATION_LINUX_H_ |