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

Unified Diff: chrome/app/app_mode_loader_mac.mm

Issue 9374009: Install platform apps into a separate data directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test 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
« no previous file with comments | « no previous file | chrome/app/chrome_main_app_mode_mac.mm » ('j') | chrome/browser/extensions/crx_installer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/app_mode_loader_mac.mm
diff --git a/chrome/app/app_mode_loader_mac.mm b/chrome/app/app_mode_loader_mac.mm
index 36cce9315e7c5b666e571e479600ea685ebbdb24..d3b360dac9e7f144b24b9ab2549fc0433d5b52e9 100644
--- a/chrome/app/app_mode_loader_mac.mm
+++ b/chrome/app/app_mode_loader_mac.mm
@@ -93,6 +93,9 @@ void LoadFramework(void** cr_dylib, app_mode::ChromeAppModeInfo* info) {
[info_plist objectForKey:app_mode::kCrAppModeShortcutURLKey]);
CHECK(info->app_mode_url.size()) << "couldn't get app shortcut URL";
+ info->user_data_dir = base::mac::NSStringToFilePath(
+ [info_plist objectForKey:app_mode::kCrAppModeUserDataDirKey]);
+
// Open the framework.
*cr_dylib = dlopen(framework_shlib_path.value().c_str(), RTLD_LAZY);
CHECK(cr_dylib) << "couldn't load framework: " << dlerror();
« no previous file with comments | « no previous file | chrome/app/chrome_main_app_mode_mac.mm » ('j') | chrome/browser/extensions/crx_installer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698