From 2f3b1cce4c8d4d6a4b016f4d03fca5ee88348a2c Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Mon, 17 Mar 2014 23:07:15 +0000 Subject: Move CommandLine to base namespace. Fix all forward-declares and header files referencing CommandLine. This keeps a "using base::CommandLine" in the command line header file so that the rest of the source files can be changes in a follow-up. TBR=sky Review URL: https://codereview.chromium.org/196413016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257514 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/shell_integration_linux.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'chrome/browser/shell_integration_linux.h') 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. -- cgit v1.1