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

Issue 393233002: [fsp] Refactor FakeProvidedFileSystem to be more flexible. (Closed)

Created:
6 years, 5 months ago by mtomasz
Modified:
6 years, 5 months ago
Reviewers:
hirono
CC:
chromium-reviews, nkostylev+watch_chromium.org, tzik, nhiroki, oshima+watch_chromium.org, stevenjb+watch_chromium.org, kinuko+fileapi, davemoore+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

[fsp] Refactor FakeProvidedFileSystem to be more flexible. Before, the FakeProvidedFileSystem had some hardcoded responses. However, since FileStreamWriter is coming soon, we will need to verify if the file on the file system is changed correctly. For that, FakeProvidedFileSystem has been refactored, so it is possible to add and get fake files and verify their values. TEST=unit_tests: *FileSystemProvider* BUG=391362 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283538

Patch Set 1 #

Total comments: 5

Patch Set 2 : Fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -145 lines) Patch
M chrome/browser/chromeos/file_system_provider/fake_provided_file_system.h View 4 chunks +35 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc View 1 9 chunks +97 lines, -102 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/fileapi/file_stream_reader_unittest.cc View 15 chunks +51 lines, -39 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
mtomasz
@hirono: PTAL. This is just a refactoring task. Previously responses in FakeProvidedFileSystem were hardcoded. This ...
6 years, 5 months ago (2014-07-16 06:08:17 UTC) #1
hirono
lgtm with nits. https://codereview.chromium.org/393233002/diff/1/chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc File chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc (right): https://codereview.chromium.org/393233002/diff/1/chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc#newcode70 chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc:70: Entries::const_iterator entry_it = entries_.find(entry_path); nit: const ...
6 years, 5 months ago (2014-07-16 06:30:00 UTC) #2
mtomasz
https://codereview.chromium.org/393233002/diff/1/chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc File chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc (right): https://codereview.chromium.org/393233002/diff/1/chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc#newcode70 chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc:70: Entries::const_iterator entry_it = entries_.find(entry_path); On 2014/07/16 06:30:00, hirono wrote: ...
6 years, 5 months ago (2014-07-16 07:29:15 UTC) #3
mtomasz
The CQ bit was checked by mtomasz@chromium.org
6 years, 5 months ago (2014-07-16 09:36:20 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/393233002/20001
6 years, 5 months ago (2014-07-16 09:38:36 UTC) #5
commit-bot: I haz the power
6 years, 5 months ago (2014-07-16 22:08:37 UTC) #6
Message was sent while issue was closed.
Change committed as 283538

Powered by Google App Engine
This is Rietveld 408576698