From 2d457e950bae63ad5d026c4c41405931d15842e0 Mon Sep 17 00:00:00 2001 From: "huangs@chromium.org" Date: Wed, 7 Nov 2012 20:37:51 +0000 Subject: Refactoring shortcut creation code in ShellUtil. - Renamed: - Chrome - ChromeShortcutProperties => ShellUtil::ShortcutProperties - ChromeShortcutOperation => ShellUtil::ShortcutOperation - ChromeShortcutLocation => ShellUtil::ShortcutLocation - Constants in ShellUtil::ShortcutOperation and ShellUtil::ChromeShortcutLocation are prefixed by "SHELL_". - Subroutine renames. - For Chrome, default values are set early on, rather than injected when translating from ShellUtil::ShortcutProperties to the base version. - Need corresponding change in tests. - In Product / ProductOperations, added AddDefaultShortcutProperties(). BUG=151626 R=erikwright,gab TBR=brettw Review URL: https://chromiumcodereview.appspot.com/11360095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166512 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/installer/util/chrome_frame_operations.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'chrome/installer/util/chrome_frame_operations.h') diff --git a/chrome/installer/util/chrome_frame_operations.h b/chrome/installer/util/chrome_frame_operations.h index 6e19594..05dc995 100644 --- a/chrome/installer/util/chrome_frame_operations.h +++ b/chrome/installer/util/chrome_frame_operations.h @@ -5,12 +5,7 @@ #ifndef CHROME_INSTALLER_UTIL_CHROME_FRAME_OPERATIONS_H_ #define CHROME_INSTALLER_UTIL_CHROME_FRAME_OPERATIONS_H_ -#include -#include -#include - #include "base/basictypes.h" -#include "base/file_path.h" #include "base/compiler_specific.h" #include "chrome/installer/util/product_operations.h" @@ -49,6 +44,11 @@ class ChromeFrameOperations : public ProductOperations { virtual bool ShouldCreateUninstallEntry( const std::set& options) const OVERRIDE; + virtual void AddDefaultShortcutProperties( + BrowserDistribution* dist, + const FilePath& target_exe, + ShellUtil::ShortcutProperties* properties) const OVERRIDE; + protected: void NormalizeOptions(std::set* options) const; -- cgit v1.1