Chromium Code Reviews| Index: chrome/browser/web_applications/web_app_mac.h |
| diff --git a/chrome/browser/web_applications/web_app_mac.h b/chrome/browser/web_applications/web_app_mac.h |
| index 603bc0ccd81a71a942d63302d2876a5b4520d1ad..790f2bc0f104c3bed4d0cde82dea40acd0075fe1 100644 |
| --- a/chrome/browser/web_applications/web_app_mac.h |
| +++ b/chrome/browser/web_applications/web_app_mac.h |
| @@ -6,6 +6,7 @@ |
| #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_MAC_H_ |
| #pragma once |
| +#include "base/file_path.h" |
| #include "chrome/browser/shell_integration.h" |
| namespace web_app { |
| @@ -15,7 +16,9 @@ namespace web_app { |
| class WebAppShortcutCreator { |
| public: |
| // Creates a new shortcut based on information in |shortcut_info|. |
| + // The shortcut store its data directory in |web_app_path|. |
|
jeremy
2012/02/12 09:40:28
nit: store -> stores
|
| explicit WebAppShortcutCreator( |
| + const FilePath& web_app_path, |
| const ShellIntegration::ShortcutInfo& shortcut_info); |
| virtual ~WebAppShortcutCreator(); |
| @@ -36,6 +39,10 @@ class WebAppShortcutCreator { |
| bool UpdateIcon(const FilePath& app_path) const; |
| private: |
| + // Path to the app's data directory. For example: |
| + // ~/Library/Application Support/Chromium/Default/Web Applications/_crx_abc/ |
| + FilePath web_app_path_; |
| + |
| // Information about the app. |
| ShellIntegration::ShortcutInfo info_; |
| }; |