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

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: 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/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..1f17e09d88eca5774112d2b79d363fa405174052 100644
--- a/chrome/browser/ui/web_applications/web_app_ui.cc
+++ b/chrome/browser/ui/web_applications/web_app_ui.cc
@@ -229,7 +229,7 @@ void UpdateShortcutWorker::UpdateShortcutsOnFileThread() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
FilePath web_app_path = web_app::internals::GetWebAppDataDirectory(
- web_app::GetDataDir(profile_path_), shortcut_info_);
+ 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.

Powered by Google App Engine
This is Rietveld 408576698