summaryrefslogtreecommitdiffstats
path: root/rlz/rlz.gyp
diff options
context:
space:
mode:
authorhashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-09 10:56:03 +0000
committerhashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-09 10:56:03 +0000
commitc80ca12f3e74e8d54653c312bbd3c92afd0fee55 (patch)
treed684790e427bd3e20ba41090603e876251fdd043 /rlz/rlz.gyp
parent93cf4f34365d9fc2a473a3b4c4c4a0cbea3e29d6 (diff)
downloadchromium_src-c80ca12f3e74e8d54653c312bbd3c92afd0fee55.zip
chromium_src-c80ca12f3e74e8d54653c312bbd3c92afd0fee55.tar.gz
chromium_src-c80ca12f3e74e8d54653c312bbd3c92afd0fee55.tar.bz2
chromeos: Replace ModifyCacheState with a number of small functions to simplify DriveCache
ModifyCacheState was doing a number of things at the same time: - Move or copy a file. (and copy was only used by Store()) - If the symlink_path is not empty, create or delete symlink That says, ModifyCacheState is unnecessarily complicated so that it can be dividend into four small functions, MoveFile, CopyFile, CreateSymlink and DeleteSymlink. BUG=None TEST=unit_tests --gtest_filter="Drive*" Review URL: https://chromiumcodereview.appspot.com/11358157 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166890 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'rlz/rlz.gyp')
0 files changed, 0 insertions, 0 deletions