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

Issue 16304005: Create a copy of each app's shim bundle in the app's app_data_path. (Closed)

Created:
7 years, 6 months ago by jackhou1
Modified:
7 years, 6 months ago
Reviewers:
tapted, benwells
CC:
chromium-reviews, sail+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Visibility:
Public.

Description

Create a copy of each app's shim bundle in the app's app_data_path. This allows app shims to be deleted from the Applications directory by the user. BUG=168080, 229086 TEST=Create a shortcut for a platform app. Delete the shortcut. Start the app, an app shim should appear in the dock. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=206679

Patch Set 1 #

Total comments: 14

Patch Set 2 : Address comments #

Total comments: 4

Patch Set 3 : Address comments. #

Total comments: 8

Patch Set 4 : Address comments #

Total comments: 7

Patch Set 5 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -38 lines) Patch
M chrome/browser/web_applications/web_app_mac.h View 1 2 3 4 3 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/web_applications/web_app_mac.mm View 1 2 3 4 8 chunks +30 lines, -13 lines 0 comments Download
M chrome/browser/web_applications/web_app_mac_unittest.mm View 1 2 3 4 4 chunks +35 lines, -18 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
jackhou1
7 years, 6 months ago (2013-06-11 03:40:40 UTC) #1
tapted
https://codereview.chromium.org/16304005/diff/1/chrome/browser/web_applications/web_app_mac.mm File chrome/browser/web_applications/web_app_mac.mm (right): https://codereview.chromium.org/16304005/diff/1/chrome/browser/web_applications/web_app_mac.mm#newcode199 chrome/browser/web_applications/web_app_mac.mm:199: LOG(ERROR) << "Creating user_data_dir " << user_data_dir_.value() I think ...
7 years, 6 months ago (2013-06-11 06:15:12 UTC) #2
tapted
+chrome-apps-syd-reviews
7 years, 6 months ago (2013-06-11 06:16:25 UTC) #3
jackhou1
https://codereview.chromium.org/16304005/diff/1/chrome/browser/web_applications/web_app_mac.mm File chrome/browser/web_applications/web_app_mac.mm (right): https://codereview.chromium.org/16304005/diff/1/chrome/browser/web_applications/web_app_mac.mm#newcode199 chrome/browser/web_applications/web_app_mac.mm:199: LOG(ERROR) << "Creating user_data_dir " << user_data_dir_.value() On 2013/06/11 ...
7 years, 6 months ago (2013-06-12 06:54:46 UTC) #4
tapted
https://codereview.chromium.org/16304005/diff/1/chrome/browser/web_applications/web_app_mac.mm File chrome/browser/web_applications/web_app_mac.mm (right): https://codereview.chromium.org/16304005/diff/1/chrome/browser/web_applications/web_app_mac.mm#newcode199 chrome/browser/web_applications/web_app_mac.mm:199: LOG(ERROR) << "Creating user_data_dir " << user_data_dir_.value() On 2013/06/12 ...
7 years, 6 months ago (2013-06-12 08:26:39 UTC) #5
tapted
https://codereview.chromium.org/16304005/diff/7001/chrome/browser/web_applications/web_app_mac.mm File chrome/browser/web_applications/web_app_mac.mm (right): https://codereview.chromium.org/16304005/diff/7001/chrome/browser/web_applications/web_app_mac.mm#newcode398 chrome/browser/web_applications/web_app_mac.mm:398: if (!file_util::PathExists(shim_path)) { This should be if (shim_path.empty() || ...
7 years, 6 months ago (2013-06-12 08:37:56 UTC) #6
jackhou1
https://codereview.chromium.org/16304005/diff/1/chrome/browser/web_applications/web_app_mac.mm File chrome/browser/web_applications/web_app_mac.mm (right): https://codereview.chromium.org/16304005/diff/1/chrome/browser/web_applications/web_app_mac.mm#newcode199 chrome/browser/web_applications/web_app_mac.mm:199: LOG(ERROR) << "Creating user_data_dir " << user_data_dir_.value() On 2013/06/12 ...
7 years, 6 months ago (2013-06-12 09:05:18 UTC) #7
tapted
lgtm Although I wonder if we should just purge all the logging from these files.. ...
7 years, 6 months ago (2013-06-12 10:16:13 UTC) #8
jackhou1
benwells, could you please review for OWNERS
7 years, 6 months ago (2013-06-12 10:22:05 UTC) #9
benwells
https://codereview.chromium.org/16304005/diff/14001/chrome/browser/web_applications/web_app_mac.h File chrome/browser/web_applications/web_app_mac.h (right): https://codereview.chromium.org/16304005/diff/14001/chrome/browser/web_applications/web_app_mac.h#newcode36 chrome/browser/web_applications/web_app_mac.h:36: // The shortcut stores its user data directory in ...
7 years, 6 months ago (2013-06-13 00:13:31 UTC) #10
jackhou1
https://codereview.chromium.org/16304005/diff/14001/chrome/browser/web_applications/web_app_mac.h File chrome/browser/web_applications/web_app_mac.h (right): https://codereview.chromium.org/16304005/diff/14001/chrome/browser/web_applications/web_app_mac.h#newcode36 chrome/browser/web_applications/web_app_mac.h:36: // The shortcut stores its user data directory in ...
7 years, 6 months ago (2013-06-13 01:33:43 UTC) #11
benwells
https://codereview.chromium.org/16304005/diff/14001/chrome/browser/web_applications/web_app_mac.mm File chrome/browser/web_applications/web_app_mac.mm (right): https://codereview.chromium.org/16304005/diff/14001/chrome/browser/web_applications/web_app_mac.mm#newcode230 chrome/browser/web_applications/web_app_mac.mm:230: // Put one copy in the app's web_app_path so ...
7 years, 6 months ago (2013-06-13 03:57:42 UTC) #12
benwells
forgot this one ... https://codereview.chromium.org/16304005/diff/22001/chrome/browser/web_applications/web_app_mac.h File chrome/browser/web_applications/web_app_mac.h (right): https://codereview.chromium.org/16304005/diff/22001/chrome/browser/web_applications/web_app_mac.h#newcode39 chrome/browser/web_applications/web_app_mac.h:39: const base::FilePath& web_app_path, nit: web_app_path ...
7 years, 6 months ago (2013-06-13 04:40:33 UTC) #13
jackhou1
https://codereview.chromium.org/16304005/diff/14001/chrome/browser/web_applications/web_app_mac.mm File chrome/browser/web_applications/web_app_mac.mm (right): https://codereview.chromium.org/16304005/diff/14001/chrome/browser/web_applications/web_app_mac.mm#newcode230 chrome/browser/web_applications/web_app_mac.mm:230: // Put one copy in the app's web_app_path so ...
7 years, 6 months ago (2013-06-14 03:31:27 UTC) #14
benwells
https://codereview.chromium.org/16304005/diff/22001/chrome/browser/web_applications/web_app_mac.mm File chrome/browser/web_applications/web_app_mac.mm (right): https://codereview.chromium.org/16304005/diff/22001/chrome/browser/web_applications/web_app_mac.mm#newcode298 chrome/browser/web_applications/web_app_mac.mm:298: forKey:app_mode::kCrAppModeUserDataDirKey]; On 2013/06/14 03:31:27, jackhou1 wrote: > On 2013/06/13 ...
7 years, 6 months ago (2013-06-14 03:36:40 UTC) #15
benwells
On 2013/06/14 03:31:27, jackhou1 wrote: > https://codereview.chromium.org/16304005/diff/14001/chrome/browser/web_applications/web_app_mac.mm > File chrome/browser/web_applications/web_app_mac.mm (right): > > https://codereview.chromium.org/16304005/diff/14001/chrome/browser/web_applications/web_app_mac.mm#newcode230 > ...
7 years, 6 months ago (2013-06-14 03:37:35 UTC) #16
jackhou1
On 2013/06/14 03:36:40, benwells wrote: > https://codereview.chromium.org/16304005/diff/22001/chrome/browser/web_applications/web_app_mac.mm > File chrome/browser/web_applications/web_app_mac.mm (right): > > https://codereview.chromium.org/16304005/diff/22001/chrome/browser/web_applications/web_app_mac.mm#newcode298 > ...
7 years, 6 months ago (2013-06-16 02:34:51 UTC) #17
benwells
lgtm
7 years, 6 months ago (2013-06-16 05:11:06 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/16304005/28001
7 years, 6 months ago (2013-06-17 03:25:39 UTC) #19
commit-bot: I haz the power
7 years, 6 months ago (2013-06-17 07:34:25 UTC) #20
Message was sent while issue was closed.
Change committed as 206679

Powered by Google App Engine
This is Rietveld 408576698