| Index: chrome/browser/shell_integration.h
|
| diff --git a/chrome/browser/shell_integration.h b/chrome/browser/shell_integration.h
|
| index a96e16ed8287d00c3bb8c4b94e7fb220828121e6..5571da1c90ffd4b03d9570938d1b39481a395709 100644
|
| --- a/chrome/browser/shell_integration.h
|
| +++ b/chrome/browser/shell_integration.h
|
| @@ -17,12 +17,6 @@
|
|
|
| class CommandLine;
|
|
|
| -#if defined(USE_X11)
|
| -namespace base {
|
| -class Environment;
|
| -}
|
| -#endif
|
| -
|
| class ShellIntegration {
|
| public:
|
| // Sets Chrome as the default browser (only for the current user). Returns
|
| @@ -119,34 +113,6 @@ class ShellIntegration {
|
| const FilePath& user_data_dir,
|
| const FilePath& extension_path);
|
|
|
| -#if defined(USE_X11)
|
| - // Returns filename of the desktop shortcut used to launch the browser.
|
| - static std::string GetDesktopName(base::Environment* env);
|
| -
|
| - static bool GetDesktopShortcutTemplate(base::Environment* env,
|
| - std::string* output);
|
| -
|
| - // Returns filename for .desktop file based on |url|, sanitized for security.
|
| - static FilePath GetDesktopShortcutFilename(const GURL& url);
|
| -
|
| - // 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.
|
| - static std::string GetDesktopFileContents(
|
| - const std::string& template_contents,
|
| - const std::string& app_name,
|
| - const GURL& url,
|
| - const std::string& extension_id,
|
| - const bool is_platform_app,
|
| - const FilePath& web_app_path,
|
| - const FilePath& extension_path,
|
| - const string16& title,
|
| - const std::string& icon_name);
|
| -
|
| - static bool CreateDesktopShortcut(const ShortcutInfo& shortcut_info,
|
| - const std::string& shortcut_template);
|
| -#endif // defined(USE_X11)
|
| -
|
| #if defined(OS_WIN)
|
| // Generates Win7 app id for given app name and profile path. The returned app
|
| // id is in the format of "|app_name|[.<profile_id>]". "profile_id" is
|
|
|