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

Issue 10830298: GDataFileSystem::CloseFile needs not modify GDataEntry. (Closed)

Created:
8 years, 4 months ago by kinaba
Modified:
8 years, 4 months ago
Reviewers:
satorux1
CC:
chromium-reviews, achuith+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

GDataFileSystem::CloseFile needs not modify GDataEntry. The modification is not needed anymore, because for dirty files we always look up metadata from the local cache file (r148712). Besides, this patch renames OnXXXForCloseFile to CloseFileAfterXXX, to match the recent convention. BUG=142466 TEST=existing tests, in particular: browser_tests --gtest_filter='RemoteFileSystemExtensionApiTest.RemoteMountPoint' unit_tests --gtest_filter='GDataFileSystemTest.OpenAndCloseFile' Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=151437

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -135 lines) Patch
M chrome/browser/chromeos/gdata/gdata_file_system.h View 1 chunk +8 lines, -28 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.cc View 3 chunks +10 lines, -107 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
kinaba
8 years, 4 months ago (2012-08-14 04:36:18 UTC) #1
satorux1
8 years, 4 months ago (2012-08-14 05:19:56 UTC) #2
LGTM!! We should do more of this. :)

http://codereview.chromium.org/10830298/diff/1/chrome/browser/chromeos/gdata/...
File chrome/browser/chromeos/gdata/gdata_file_system.cc (right):

http://codereview.chromium.org/10830298/diff/1/chrome/browser/chromeos/gdata/...
chrome/browser/chromeos/gdata/gdata_file_system.cc:3403: }  // namespace gdata
97 lines are gone!!

Powered by Google App Engine
This is Rietveld 408576698