| Index: chrome/browser/shell_integration_linux.cc
|
| diff --git a/chrome/browser/shell_integration_linux.cc b/chrome/browser/shell_integration_linux.cc
|
| index 47a033ea6a7285df28a9e6ab78fcffda2ec66d56..a521610c73f41d31da6a5bcaf8fd493bd4ca6d1e 100644
|
| --- a/chrome/browser/shell_integration_linux.cc
|
| +++ b/chrome/browser/shell_integration_linux.cc
|
| @@ -260,6 +260,7 @@ void DeleteShortcutInApplicationsMenu(
|
| LaunchXdgUtility(argv, &exit_code);
|
| }
|
|
|
| +#if defined(USE_GLIB)
|
| // Quote a string such that it appears as one verbatim argument for the Exec
|
| // key in a desktop file.
|
| std::string QuoteArgForDesktopFileExec(const std::string& arg) {
|
| @@ -310,6 +311,7 @@ std::string QuoteCommandLineForDesktopFileExec(
|
| const char kDesktopEntry[] = "Desktop Entry";
|
|
|
| const char kXdgOpenShebang[] = "#!/usr/bin/env xdg-open";
|
| +#endif
|
|
|
| const char kXdgSettings[] = "xdg-settings";
|
| const char kXdgSettingsDefaultBrowser[] = "default-web-browser";
|
|
|