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 4d820bc48f381e7bef6fa5b195e635b4eff82906..1723ac15005cc9733bfe4503e3cf6fd163cffe2b 100644 |
--- a/chrome/browser/web_applications/web_app_mac.h |
+++ b/chrome/browser/web_applications/web_app_mac.h |
@@ -17,7 +17,9 @@ namespace web_app { |
class WebAppShortcutCreator { |
public: |
// Creates a new shortcut based on information in |shortcut_info|. |
+ // The shortcut stores its user data directory in |user_data_dir|. |
explicit WebAppShortcutCreator( |
+ const FilePath& user_data_dir, |
const ShellIntegration::ShortcutInfo& shortcut_info); |
virtual ~WebAppShortcutCreator(); |
@@ -40,6 +42,11 @@ class WebAppShortcutCreator { |
private: |
FRIEND_TEST_ALL_PREFIXES(WebAppShortcutCreatorTest, UpdateIcon); |
+ // Path to the app's user data directory. For example: |
+ // ~/Library/Application Support/Chromium/Default/Web Applications/_crx_abc/ |
+ // Note, the user data directory is the parent of the profile directory. |
+ FilePath user_data_dir_; |
+ |
// Information about the app. |
ShellIntegration::ShortcutInfo info_; |
}; |