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

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

Issue 9374009: Install platform apps into a separate data directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment 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 afdaa36903e84fed1e34529ff2d0b00cf767881b..fa0bf364141e15007d1eaea4f9ce93e1c7a80d23 100644
--- a/chrome/common/mac/app_mode_common.h
+++ b/chrome/common/mac/app_mode_common.h
@@ -36,6 +36,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;
+
// Current major/minor version numbers of |ChromeAppModeInfo| (defined below).
const unsigned kCurrentChromeAppModeInfoMajorVersion = 1;
const unsigned kCurrentChromeAppModeInfoMinorVersion = 0;
@@ -79,6 +82,9 @@ struct ChromeAppModeInfo {
// URL for the shortcut. Must be a valid URL.
std::string app_mode_url; // Required: 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