DescriptionCall RecordLastRunAppBundlePath in FILE thread
RecordLastRunAppBundlePath() uses chrome::GetVersionedDirectory()
which in turn uses PathProvider for base::DIR_EXE, which will do I/O
on OS X since it uses base::MakeAbsoluteFilePath() now.
Reorder the sync call a bit so that we don't have to post another
FILE thread task to get the preferences synced.
BUG=275988
TEST=Run Chromium; do (from command line):
"defaults read org.chromium.Chromium LastRunAppBundlePath"
-- should get path to Chromium.app; move Chromium.app to another
location and run it again; do "defaults ..." again -- should get path
to Chromium.app at new location.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220168
Patch Set 1 #
Total comments: 1
Patch Set 2 : Call RecordLastRunAppBundlePath immediately #Messages
Total messages: 6 (0 generated)
|