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

Unified Diff: chrome/browser/web_applications/web_app_mac.mm

Issue 9374009: Install platform apps into a separate data directory (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/browser/web_applications/web_app_mac.mm
diff --git a/chrome/browser/web_applications/web_app_mac.mm b/chrome/browser/web_applications/web_app_mac.mm
index 81bcc0ae4aad9d009a8d7550dce264f23c319c6d..0b6d19dfb9d48b06687760f46a8301619317b130 100644
--- a/chrome/browser/web_applications/web_app_mac.mm
+++ b/chrome/browser/web_applications/web_app_mac.mm
@@ -172,9 +172,11 @@ bool WebAppShortcutCreator::UpdatePlist(const FilePath& app_path) const {
// 2. Fill in other values.
[plist setObject:GetBundleIdentifier(plist)
- forKey:base::mac::CFToNSCast(kCFBundleIdentifierKey)];
+ forKey:base::mac::CFToNSCast(kCFBundleIdentifierKey)];
[plist setObject:base::mac::FilePathToNSString(data_dir_)
forKey:app_mode::kCrAppModeUserDataDirKey];
+ [plist setObject:base::mac::FilePathToNSString(info_.extension_path)
+ forKey:app_mode::kCrAppModeExtensionPathKey];
return [plist writeToFile:plist_path atomically:YES];
}

Powered by Google App Engine
This is Rietveld 408576698