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

Issue 2808353008: arc: kArcCompatibleFilesystemChosen pref to local state and integer. (Closed)

Created:
3 years, 8 months ago by kinaba
Modified:
3 years, 7 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, alemate+watch_chromium.org, oshima+watch_chromium.org, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, achuith+watch_chromium.org, lhchavez+watch_chromium.org, victorhsieh+watch_chromium.org, davemoore+watch_chromium.org, hidehiko
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: kArcCompatibleFilesystemChosen pref to local state and integer. For bug 709893, It needs to be established before profile's KeyedService starts working, hence is moved to the local state which can be initialized earlier. For bug 711095, to implement a one-time UI to show the success of navigation to the user, this value needs to be tri-state (notyet, done, done-and-notified). Taking this opportunity to move to local state, this CL changes the type of the pref from boolean to integer as well. BUG=709893 BUG=711095 TEST=ChromeArcUtilTest TEST=Manually checked MediaView in Files app is working on the first run. Review-Url: https://codereview.chromium.org/2808353008 Cr-Commit-Position: refs/heads/master@{#464699} Committed: https://chromium.googlesource.com/chromium/src/+/6ea2f510147f3bca05aea7024752e95dcf559912

Patch Set 1 #

Total comments: 22

Patch Set 2 : Update reflecting review comments. #

Total comments: 2

Patch Set 3 : DISALLOW_COPY_AND_ASSIGN #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -53 lines) Patch
M chrome/browser/chromeos/arc/arc_session_manager.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/arc/arc_util.h View 1 3 chunks +28 lines, -3 lines 1 comment Download
M chrome/browser/chromeos/arc/arc_util.cc View 1 5 chunks +75 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_util_unittest.cc View 1 2 8 chunks +41 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/login/session/user_session_manager.h View 1 2 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/chromeos/login/session/user_session_manager.cc View 1 5 chunks +7 lines, -26 lines 0 comments Download

Messages

Total messages: 30 (18 generated)
kinaba
PTAL. xiyuan@: on the whole strategy around UserSessionManager battre@: browser_prefs.cc lhchavez@: as an arc/ OWNER ...
3 years, 8 months ago (2017-04-13 08:35:04 UTC) #2
hidehiko
FYI. (Defer to Luis for owner review, as, yes, I'm ooo) https://codereview.chromium.org/2808353008/diff/1/chrome/browser/chromeos/arc/arc_util.cc File chrome/browser/chromeos/arc/arc_util.cc (right): ...
3 years, 8 months ago (2017-04-13 12:38:28 UTC) #8
xiyuan
https://codereview.chromium.org/2808353008/diff/1/chrome/browser/chromeos/arc/arc_session_manager.cc File chrome/browser/chromeos/arc/arc_session_manager.cc (right): https://codereview.chromium.org/2808353008/diff/1/chrome/browser/chromeos/arc/arc_session_manager.cc#newcode186 chrome/browser/chromeos/arc/arc_session_manager.cc:186: kFileSystemIncompatible); You don't need to do this for using ...
3 years, 8 months ago (2017-04-13 16:35:59 UTC) #9
Luis Héctor Chávez
https://codereview.chromium.org/2808353008/diff/1/chrome/browser/chromeos/arc/arc_util.h File chrome/browser/chromeos/arc/arc_util.h (right): https://codereview.chromium.org/2808353008/diff/1/chrome/browser/chromeos/arc/arc_util.h#newcode24 chrome/browser/chromeos/arc/arc_util.h:24: enum FileSystemCompatibilityState { nit: enum FileSystemCompatibilityState : int32_t https://codereview.chromium.org/2808353008/diff/1/chrome/browser/chromeos/login/session/user_session_manager.cc ...
3 years, 8 months ago (2017-04-13 21:11:48 UTC) #10
kinaba
Updated. -battre@ from reviewer, browser_pref change turned out unnecessary. (Thanks for your attention!) https://codereview.chromium.org/2808353008/diff/1/chrome/browser/chromeos/arc/arc_session_manager.cc File ...
3 years, 8 months ago (2017-04-14 04:33:55 UTC) #13
Luis Héctor Chávez
lgtm
3 years, 8 months ago (2017-04-14 04:42:59 UTC) #17
xiyuan
lgtm https://codereview.chromium.org/2808353008/diff/20001/chrome/browser/chromeos/arc/arc_util_unittest.cc File chrome/browser/chromeos/arc/arc_util_unittest.cc (right): https://codereview.chromium.org/2808353008/diff/20001/chrome/browser/chromeos/arc/arc_util_unittest.cc#newcode104 chrome/browser/chromeos/arc/arc_util_unittest.cc:104: }; nit: DISALLOW_COPY_AND_ASSIGN(...)
3 years, 8 months ago (2017-04-14 06:51:31 UTC) #20
kinaba
Thanks! https://codereview.chromium.org/2808353008/diff/20001/chrome/browser/chromeos/arc/arc_util_unittest.cc File chrome/browser/chromeos/arc/arc_util_unittest.cc (right): https://codereview.chromium.org/2808353008/diff/20001/chrome/browser/chromeos/arc/arc_util_unittest.cc#newcode104 chrome/browser/chromeos/arc/arc_util_unittest.cc:104: }; On 2017/04/14 06:51:31, xiyuan wrote: > nit: ...
3 years, 8 months ago (2017-04-14 06:57:13 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2808353008/40001
3 years, 8 months ago (2017-04-14 06:57:37 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/6ea2f510147f3bca05aea7024752e95dcf559912
3 years, 8 months ago (2017-04-14 07:25:52 UTC) #27
Junichi Uekawa
https://codereview.chromium.org/2808353008/diff/40001/chrome/browser/chromeos/arc/arc_util.h File chrome/browser/chromeos/arc/arc_util.h (right): https://codereview.chromium.org/2808353008/diff/40001/chrome/browser/chromeos/arc/arc_util.h#newcode31 chrome/browser/chromeos/arc/arc_util.h:31: kFileSystemIncompatible = 0, what about the case that the ...
3 years, 7 months ago (2017-05-11 22:15:34 UTC) #29
kinaba
3 years, 7 months ago (2017-05-11 22:16:48 UTC) #30
Message was sent while issue was closed.
On 2017/05/11 22:15:34, Junichi Uekawa wrote:
>
https://codereview.chromium.org/2808353008/diff/40001/chrome/browser/chromeos...
> File chrome/browser/chromeos/arc/arc_util.h (right):
> 
>
https://codereview.chromium.org/2808353008/diff/40001/chrome/browser/chromeos...
> chrome/browser/chromeos/arc/arc_util.h:31: kFileSystemIncompatible = 0,
> what about the case that the ext4 crypto is already in use when user has
created
> the directory in cryptohome?
> 
> New users always get ext4 crypto file system on dircrypto capable systems now.
> 
> They get notifications ?

No

Powered by Google App Engine
This is Rietveld 408576698