summaryrefslogtreecommitdiffstats
path: root/chrome/browser/shell_integration.h
diff options
context:
space:
mode:
authorpvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-09 19:52:16 +0000
committerpvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-09 19:52:16 +0000
commit753efc479384c254e263fd11390846a060fa6ce0 (patch)
tree488097f0622c5d744059f3c2ada4894b683c5305 /chrome/browser/shell_integration.h
parent5e4d24d67febed160e2020f5c8f13d8073921fc4 (diff)
downloadchromium_src-753efc479384c254e263fd11390846a060fa6ce0.zip
chromium_src-753efc479384c254e263fd11390846a060fa6ce0.tar.gz
chromium_src-753efc479384c254e263fd11390846a060fa6ce0.tar.bz2
BSD ifdefs, etc. necessary for chrome/
Review URL: http://codereview.chromium.org/656009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41067 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/shell_integration.h')
-rw-r--r--chrome/browser/shell_integration.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/shell_integration.h b/chrome/browser/shell_integration.h
index 6eabad6..96e1dea 100644
--- a/chrome/browser/shell_integration.h
+++ b/chrome/browser/shell_integration.h
@@ -68,7 +68,7 @@ class ShellIntegration {
static std::string GetCommandLineArgumentsCommon(const GURL& url,
const string16& extension_app_id);
-#if defined(OS_LINUX)
+#if defined(USE_X11)
static bool GetDesktopShortcutTemplate(std::string* output);
// Returns filename for .desktop file based on |url|, sanitized for security.
@@ -84,7 +84,7 @@ class ShellIntegration {
static void CreateDesktopShortcut(const ShortcutInfo& shortcut_info,
const std::string& shortcut_template);
-#endif // defined(OS_LINUX)
+#endif // defined(USE_X11)
#if defined(OS_WIN)
// Generates Win7 app id for given app name and profile path. The returned app