Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9890)

Unified Diff: chrome/common/mac/app_mode_common.h

Issue 9423048: Add user data dir field to Mac platform apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/mac/app_mode_common.h
diff --git a/chrome/common/mac/app_mode_common.h b/chrome/common/mac/app_mode_common.h
index 09870e1fdbb5e6dcaea0f807a19d1f6877fdfb90..22c631b25e3c3b7e9091d9c401cd493f83424d50 100644
--- a/chrome/common/mac/app_mode_common.h
+++ b/chrome/common/mac/app_mode_common.h
@@ -29,6 +29,9 @@ extern NSString* const kCrAppModeShortcutNameKey;
// Key for the app's URL.
extern NSString* const kCrAppModeShortcutURLKey;
+// Key for the app user data directory.
+extern NSString* const kCrAppModeUserDataDirKey;
+
// When the Chrome browser is run, it stores it's location in the defaults
// system using this key.
extern NSString* const kLastRunAppBundlePathPrefsKey;
@@ -83,6 +86,9 @@ struct ChromeAppModeInfo {
// URL for the shortcut. Must be a valid URL.
std::string app_mode_url; // Optional: v1.0
+
+ // Path to the app's user data directory.
+ FilePath user_data_dir;
};
} // namespace app_mode

Powered by Google App Engine
This is Rietveld 408576698