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

Unified Diff: chrome/browser/shell_integration.h

Issue 199105: Continue with the FreeBSD port - this version builds and links, though... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 3 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
Index: chrome/browser/shell_integration.h
===================================================================
--- chrome/browser/shell_integration.h (revision 25977)
+++ chrome/browser/shell_integration.h (working copy)
@@ -41,7 +41,7 @@
// user. This method is very fast so it can be invoked in the UI thread.
static bool IsFirefoxDefaultBrowser();
-#if defined(OS_LINUX)
+#if defined(USE_X11)
// Returns filename for .desktop file based on |url|, sanitized for security.
static FilePath GetDesktopShortcutFilename(const GURL& url);
@@ -64,7 +64,7 @@
// returning from this function, because actual file operation is done on the
// file thread.
static void CreateDesktopShortcut(const ShortcutInfo& shortcut_info);
-#endif // defined(OS_LINUX)
+#endif // defined(USE_X11)
// The current default browser UI state
enum DefaultBrowserUIState {
« no previous file with comments | « chrome/browser/search_engines/template_url_prepopulate_data.cc ('k') | chrome/browser/tab_contents/constrained_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698