diff options
author | huangs@chromium.org <huangs@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-07 20:37:51 +0000 |
---|---|---|
committer | huangs@chromium.org <huangs@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-07 20:37:51 +0000 |
commit | 2d457e950bae63ad5d026c4c41405931d15842e0 (patch) | |
tree | ad45a25952605bb8ca133b07318738961f66aef0 /chrome/installer/util/chrome_frame_operations.h | |
parent | 27a5485e00fc6a2a1bf7efd73cd7a8bf8bcd9a4e (diff) | |
download | chromium_src-2d457e950bae63ad5d026c4c41405931d15842e0.zip chromium_src-2d457e950bae63ad5d026c4c41405931d15842e0.tar.gz chromium_src-2d457e950bae63ad5d026c4c41405931d15842e0.tar.bz2 |
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
Diffstat (limited to 'chrome/installer/util/chrome_frame_operations.h')
-rw-r--r-- | chrome/installer/util/chrome_frame_operations.h | 10 |
1 files changed, 5 insertions, 5 deletions
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 <set> -#include <string> -#include <vector> - #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<std::wstring>& options) const OVERRIDE; + virtual void AddDefaultShortcutProperties( + BrowserDistribution* dist, + const FilePath& target_exe, + ShellUtil::ShortcutProperties* properties) const OVERRIDE; + protected: void NormalizeOptions(std::set<std::wstring>* options) const; |