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

Unified Diff: chrome/browser/ui/web_applications/web_app_ui.cc

Issue 9423048: Add user data dir field to Mac platform apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build 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 | « chrome/app/chrome_main_app_mode_mac.mm ('k') | chrome/browser/web_applications/web_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/web_applications/web_app_ui.cc
diff --git a/chrome/browser/ui/web_applications/web_app_ui.cc b/chrome/browser/ui/web_applications/web_app_ui.cc
index f3f36a23b99652581ebbad7072712a7880626c50..1d3103a6e6e9c768b7d29bc971be01138a9d87a0 100644
--- a/chrome/browser/ui/web_applications/web_app_ui.cc
+++ b/chrome/browser/ui/web_applications/web_app_ui.cc
@@ -228,8 +228,8 @@ void UpdateShortcutWorker::UpdateShortcuts() {
void UpdateShortcutWorker::UpdateShortcutsOnFileThread() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
- FilePath web_app_path = web_app::internals::GetWebAppDataDirectory(
- web_app::GetDataDir(profile_path_), shortcut_info_);
+ FilePath web_app_path = web_app::GetWebAppDataDirectory(
+ profile_path_, shortcut_info_.extension_id, shortcut_info_.url);
// Ensure web_app_path exists. web_app_path could be missing for a legacy
// shortcut created by Gears.
« no previous file with comments | « chrome/app/chrome_main_app_mode_mac.mm ('k') | chrome/browser/web_applications/web_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698