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

Issue 216053002: Files.app multi-profile: add back migration to old path format. (Closed)

Created:
6 years, 9 months ago by kinaba
Modified:
6 years, 9 months ago
Reviewers:
hirono
CC:
chromium-reviews, nkostylev+watch_chromium.org, yoshiki+watch_chromium.org, rginda+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Files.app multi-profile: add back migration to old path format. This CL adds Download folder path migration from /home/chronos/u-hash/Downloads to /home/chronos/user/Downloads when in the current running environment the profile path is set as the latter. It can happen when (1) the user enabled and then disabled the multi-profile flag, or (2) performed restart from about:flags. In such situations we need back migration not to break configurations. In addition, inserted path convertion to public functions in open_util so that paths stored in download history (during flipped path due to about:flags) can be correctly handled. BUG=356322, 329744 R=hirono@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260092

Patch Set 1 #

Total comments: 4

Patch Set 2 : Review fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -24 lines) Patch
M chrome/browser/chromeos/file_manager/open_util.cc View 3 chunks +19 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/file_manager/path_util.h View 1 chunk +7 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/file_manager/path_util.cc View 1 3 chunks +27 lines, -15 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
kinaba
6 years, 9 months ago (2014-03-28 01:57:45 UTC) #1
hirono
lgtm with two nits. https://codereview.chromium.org/216053002/diff/1/chrome/browser/chromeos/file_manager/path_util.cc File chrome/browser/chromeos/file_manager/path_util.cc (right): https://codereview.chromium.org/216053002/diff/1/chrome/browser/chromeos/file_manager/path_util.cc#newcode75 chrome/browser/chromeos/file_manager/path_util.cc:75: const chromeos::User* user = nit: ...
6 years, 9 months ago (2014-03-28 02:05:35 UTC) #2
kinaba
https://codereview.chromium.org/216053002/diff/1/chrome/browser/chromeos/file_manager/path_util.cc File chrome/browser/chromeos/file_manager/path_util.cc (right): https://codereview.chromium.org/216053002/diff/1/chrome/browser/chromeos/file_manager/path_util.cc#newcode75 chrome/browser/chromeos/file_manager/path_util.cc:75: const chromeos::User* user = On 2014/03/28 02:05:35, hirono wrote: ...
6 years, 9 months ago (2014-03-28 02:11:06 UTC) #3
kinaba
The CQ bit was checked by kinaba@chromium.org
6 years, 9 months ago (2014-03-28 02:19:03 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/216053002/20001
6 years, 9 months ago (2014-03-28 02:27:10 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 03:10:20 UTC) #6
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) url_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=136631
6 years, 9 months ago (2014-03-28 03:10:20 UTC) #7
kinaba
The CQ bit was checked by kinaba@chromium.org
6 years, 9 months ago (2014-03-28 03:18:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/216053002/20001
6 years, 9 months ago (2014-03-28 03:19:30 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 03:52:41 UTC) #10
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) sql_unittests, ui_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=136665
6 years, 9 months ago (2014-03-28 03:52:42 UTC) #11
kinaba
The CQ bit was checked by kinaba@chromium.org
6 years, 9 months ago (2014-03-28 04:14:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/216053002/20001
6 years, 9 months ago (2014-03-28 04:16:25 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 07:01:59 UTC) #14
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) base_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=136853
6 years, 9 months ago (2014-03-28 07:02:00 UTC) #15
kinaba
The CQ bit was checked by kinaba@chromium.org
6 years, 9 months ago (2014-03-28 07:04:55 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/216053002/20001
6 years, 9 months ago (2014-03-28 07:06:05 UTC) #17
kinaba
6 years, 9 months ago (2014-03-28 08:54:20 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 manually as r260092 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698