Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: chrome/browser/shell_integration_linux.h

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/shell_integration.h ('k') | chrome/browser/sync/profile_sync_components_factory_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/shell_integration_linux.h
diff --git a/chrome/browser/shell_integration_linux.h b/chrome/browser/shell_integration_linux.h
index 88dfc3497fe077b1d1bc87f40ca55f5752a093a8..44f0b7c413ad9011bad909346d005fea02e55dc2 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.
« no previous file with comments | « chrome/browser/shell_integration.h ('k') | chrome/browser/sync/profile_sync_components_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698