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

Issue 2511973003: Use ArcFileSystemInstance to access files on ARC. (Closed)

Created:
4 years, 1 month ago by Shuhei Takahashi
Modified:
4 years ago
Reviewers:
Yusuke Sato, hashimoto
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, tzik, hidehiko+watch_chromium.org, nhiroki, lhchavez+watch_chromium.org, oshima+watch_chromium.org, kinuko+fileapi, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use ArcFileSystemInstance to access files on ARC. No functionality should change. BUG=chromium:666231 TEST=unit_tests --gtest_filter='ArcContentFileSystem*' TEST=Open a PDF file from Android storage viewer. Committed: https://crrev.com/3cf19023ea53f77727741812143b7306bfed94be Cr-Commit-Position: refs/heads/master@{#435161}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix unit_tests build, and rename file_system_util. #

Total comments: 12

Patch Set 3 : Address comments from yusukes #

Patch Set 4 : Define version constants. #

Patch Set 5 : Rebased to ToT. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -183 lines) Patch
M chrome/browser/chromeos/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/arc/fileapi/arc_content_file_system_async_file_util.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/arc/fileapi/arc_content_file_system_async_file_util_unittest.cc View 1 2 4 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/arc/fileapi/arc_content_file_system_file_stream_reader.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/arc/fileapi/arc_content_file_system_file_stream_reader_unittest.cc View 1 2 5 chunks +12 lines, -14 lines 0 comments Download
A + chrome/browser/chromeos/arc/fileapi/arc_file_system_instance_util.h View 1 2 2 chunks +10 lines, -10 lines 0 comments Download
A + chrome/browser/chromeos/arc/fileapi/arc_file_system_instance_util.cc View 1 2 3 4 chunks +20 lines, -19 lines 0 comments Download
D chrome/browser/chromeos/arc/fileapi/intent_helper_util.h View 1 2 1 chunk +0 lines, -32 lines 0 comments Download
D chrome/browser/chromeos/arc/fileapi/intent_helper_util.cc View 1 2 3 1 chunk +0 lines, -94 lines 0 comments Download
M components/arc/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A components/arc/test/fake_file_system_instance.h View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
A components/arc/test/fake_file_system_instance.cc View 1 2 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (20 generated)
Shuhei Takahashi
yusukes: PTAL hashimoto: FYI
4 years, 1 month ago (2016-11-18 07:49:41 UTC) #4
Shuhei Takahashi
On 2016/11/18 07:49:41, Shuhei Takahashi wrote: > yusukes: PTAL > > hashimoto: FYI Oops, I ...
4 years, 1 month ago (2016-11-18 07:57:32 UTC) #7
hashimoto
https://codereview.chromium.org/2511973003/diff/1/chrome/browser/chromeos/BUILD.gn File chrome/browser/chromeos/BUILD.gn (right): https://codereview.chromium.org/2511973003/diff/1/chrome/browser/chromeos/BUILD.gn#newcode233 chrome/browser/chromeos/BUILD.gn:233: "arc/fileapi/arc_file_system_util.cc", suggestion: "file system util" sounds a bit ambiguous ...
4 years, 1 month ago (2016-11-18 08:00:13 UTC) #8
Shuhei Takahashi
https://codereview.chromium.org/2511973003/diff/1/chrome/browser/chromeos/BUILD.gn File chrome/browser/chromeos/BUILD.gn (right): https://codereview.chromium.org/2511973003/diff/1/chrome/browser/chromeos/BUILD.gn#newcode233 chrome/browser/chromeos/BUILD.gn:233: "arc/fileapi/arc_file_system_util.cc", On 2016/11/18 08:00:12, hashimoto wrote: > suggestion: "file ...
4 years, 1 month ago (2016-11-18 08:41:04 UTC) #10
Yusuke Sato
linux_chromium_chromeos_ozone_rel_ng's failure might be yours, please check. mostly style comments below: https://codereview.chromium.org/2511973003/diff/20001/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_file_stream_reader_unittest.cc File chrome/browser/chromeos/arc/fileapi/arc_content_file_system_file_stream_reader_unittest.cc (left): ...
4 years, 1 month ago (2016-11-18 19:21:05 UTC) #15
Shuhei Takahashi
PTAL https://codereview.chromium.org/2511973003/diff/20001/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_file_stream_reader_unittest.cc File chrome/browser/chromeos/arc/fileapi/arc_content_file_system_file_stream_reader_unittest.cc (left): https://codereview.chromium.org/2511973003/diff/20001/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_file_stream_reader_unittest.cc#oldcode32 chrome/browser/chromeos/arc/fileapi/arc_content_file_system_file_stream_reader_unittest.cc:32: void GetFileSize(const mojo::String& url, On 2016/11/18 19:21:05, Yusuke ...
4 years, 1 month ago (2016-11-21 11:06:43 UTC) #21
Yusuke Sato
lgtm
4 years, 1 month ago (2016-11-21 16:47:45 UTC) #22
hashimoto
lgtm
4 years, 1 month ago (2016-11-22 09:03:49 UTC) #23
Shuhei Takahashi
Verified again with Chrome OS ToT. Submitting...
4 years ago (2016-11-30 06:14:26 UTC) #24
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/2511973003/80001
4 years ago (2016-11-30 06:15:07 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-11-30 08:20:37 UTC) #30
commit-bot: I haz the power
4 years ago (2016-11-30 08:23:02 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/3cf19023ea53f77727741812143b7306bfed94be
Cr-Commit-Position: refs/heads/master@{#435161}

Powered by Google App Engine
This is Rietveld 408576698