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 ad244aa3947d199707e188db996eca5999357c53..f5476c9a93a75e0ab877a17bf29321754939ba1d 100644 |
--- a/chrome/browser/web_applications/web_app_mac.h |
+++ b/chrome/browser/web_applications/web_app_mac.h |
@@ -22,7 +22,9 @@ class WebAppShortcutCreator { |
public: |
// Creates a new shortcut based on information in |shortcut_info|. |
// |chrome_bundle_id| is the CFBundleIdentifier of the Chrome browser bundle. |
+ // The shortcut store its data directory in |data_dir|. |
explicit WebAppShortcutCreator( |
+ const FilePath& data_dir, |
const ShellIntegration::ShortcutInfo& shortcut_info, |
const string16& chrome_bundle_id); |
virtual ~WebAppShortcutCreator(); |
@@ -56,6 +58,10 @@ class WebAppShortcutCreator { |
virtual void RevealGeneratedBundleInFinder( |
const FilePath& generated_bundle) const; |
+ // Path to the app's data directory. For example: |
+ // ~/Library/Application Support/Chromium/Default/Web Applications/_crx_abc/ |
+ FilePath data_dir_; |
+ |
// Information about the app. |
ShellIntegration::ShortcutInfo info_; |