summaryrefslogtreecommitdiffstats
path: root/chrome/browser/shell_integration_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/shell_integration_linux.h')
-rw-r--r--chrome/browser/shell_integration_linux.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/chrome/browser/shell_integration_linux.h b/chrome/browser/shell_integration_linux.h
index 88dfc34..44f0b7c 100644
--- a/chrome/browser/shell_integration_linux.h
+++ b/chrome/browser/shell_integration_linux.h
@@ -13,6 +13,7 @@
#include "url/gurl.h"
namespace base {
+class CommandLine;
class Environment;
}
@@ -97,12 +98,13 @@ std::string GetDesktopFileContents(const base::FilePath& chrome_exe_path,
// Returns contents for .desktop file that executes command_line. This is a more
// general form of GetDesktopFileContents. If |no_display| is true, the shortcut
// will not be visible to the user in menus.
-std::string GetDesktopFileContentsForCommand(const CommandLine& command_line,
- const std::string& app_name,
- const GURL& url,
- const base::string16& title,
- const std::string& icon_name,
- bool no_display);
+std::string GetDesktopFileContentsForCommand(
+ const base::CommandLine& command_line,
+ const std::string& app_name,
+ const GURL& url,
+ const base::string16& title,
+ const std::string& icon_name,
+ bool no_display);
// Returns contents for .directory file named |title| with icon |icon_name|. If
// |icon_name| is empty, will use the Chrome icon.