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

Issue 1055183003: Add a data source field for volumes. (Closed)

Created:
5 years, 8 months ago by mtomasz
Modified:
5 years, 8 months ago
Reviewers:
benwells, hirono
CC:
chromium-reviews, extensions-reviews_chromium.org, rginda+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a data source field for volumes. Especially for FSP, we'd like to know type of a volume, as the way they are going to be displayed in Files app depends on it. Eg. SOURCE_FILE volumes will be auto opened once they are mounted. SOURCE_NETWORK file systems will have a button for configuration. TEST=unit_tests, browser_tests BUG=474146 Committed: https://crrev.com/181fd73aa111fff257616435820a6392e309a5e5 Cr-Commit-Position: refs/heads/master@{#324429}

Patch Set 1 #

Patch Set 2 : Fixed tests. #

Total comments: 7

Patch Set 3 : Fixed tests + added comments. #

Patch Set 4 : Fixed more comments. #

Patch Set 5 : Fixed order. #

Total comments: 2

Patch Set 6 : Fixed a typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -11 lines) Patch
M chrome/browser/chromeos/extensions/file_manager/private_api_util.cc View 1 2 3 4 1 chunk +17 lines, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc View 3 chunks +31 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_manager/volume_manager.h View 1 2 3 4 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_manager/volume_manager.cc View 1 2 3 4 6 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/provided_file_system_info.h View 1 2 3 4 4 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/provided_file_system_info.cc View 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/registry.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/registry.cc View 1 2 3 4 6 chunks +45 lines, -1 line 0 comments Download
M chrome/browser/chromeos/file_system_provider/registry_unittest.cc View 1 9 chunks +40 lines, -4 lines 0 comments Download
M chrome/common/extensions/api/file_manager_private.idl View 1 2 2 chunks +18 lines, -1 line 0 comments Download
M chrome/common/extensions/api/file_system_provider.idl View 1 2 3 4 5 4 chunks +25 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/file_browser/mount_test/test.js View 1 2 6 chunks +6 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/file_system_provider/get_all/test.js View 1 3 chunks +5 lines, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/file_system_provider/mount/test.js View 1 2 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 16 (4 generated)
mtomasz
@hirono: PTAL. Thanks.
5 years, 8 months ago (2015-04-06 08:13:04 UTC) #2
hirono
https://codereview.chromium.org/1055183003/diff/20001/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h File chrome/browser/chromeos/file_system_provider/provided_file_system_info.h (right): https://codereview.chromium.org/1055183003/diff/20001/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h#newcode16 chrome/browser/chromeos/file_system_provider/provided_file_system_info.h:16: enum Source { SOURCE_FILE, SOURCE_DEVICE, SOURCE_NETWORK, SOURCE_UNKNOWN }; nit: ...
5 years, 8 months ago (2015-04-06 08:36:34 UTC) #3
mtomasz
https://codereview.chromium.org/1055183003/diff/20001/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h File chrome/browser/chromeos/file_system_provider/provided_file_system_info.h (right): https://codereview.chromium.org/1055183003/diff/20001/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h#newcode16 chrome/browser/chromeos/file_system_provider/provided_file_system_info.h:16: enum Source { SOURCE_FILE, SOURCE_DEVICE, SOURCE_NETWORK, SOURCE_UNKNOWN }; On ...
5 years, 8 months ago (2015-04-06 09:13:48 UTC) #4
hirono
lgtm! https://codereview.chromium.org/1055183003/diff/20001/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h File chrome/browser/chromeos/file_system_provider/provided_file_system_info.h (right): https://codereview.chromium.org/1055183003/diff/20001/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h#newcode16 chrome/browser/chromeos/file_system_provider/provided_file_system_info.h:16: enum Source { SOURCE_FILE, SOURCE_DEVICE, SOURCE_NETWORK, SOURCE_UNKNOWN }; ...
5 years, 8 months ago (2015-04-06 09:37:33 UTC) #5
mtomasz
On 2015/04/06 09:37:33, hirono wrote: > lgtm! > > https://codereview.chromium.org/1055183003/diff/20001/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h > File chrome/browser/chromeos/file_system_provider/provided_file_system_info.h > (right): ...
5 years, 8 months ago (2015-04-06 11:00:40 UTC) #6
mtomasz
@benwells: PTAL at chrome/common/extensions/api/file_system_provider.idl. Sorry for so many CLs, but this is tiny.
5 years, 8 months ago (2015-04-06 11:02:23 UTC) #8
mtomasz
On 2015/04/06 11:02:23, mtomasz wrote: > @benwells: PTAL at chrome/common/extensions/api/file_system_provider.idl. Sorry > for so many ...
5 years, 8 months ago (2015-04-09 07:19:22 UTC) #9
benwells
lgtm sorry, missed this one. https://codereview.chromium.org/1055183003/diff/80001/chrome/common/extensions/api/file_system_provider.idl File chrome/common/extensions/api/file_system_provider.idl (right): https://codereview.chromium.org/1055183003/diff/80001/chrome/common/extensions/api/file_system_provider.idl#newcode477 chrome/common/extensions/api/file_system_provider.idl:477: // </code> option must ...
5 years, 8 months ago (2015-04-09 07:32:12 UTC) #10
mtomasz
https://codereview.chromium.org/1055183003/diff/80001/chrome/common/extensions/api/file_system_provider.idl File chrome/common/extensions/api/file_system_provider.idl (right): https://codereview.chromium.org/1055183003/diff/80001/chrome/common/extensions/api/file_system_provider.idl#newcode477 chrome/common/extensions/api/file_system_provider.idl:477: // </code> option must be set apprioprietly. On 2015/04/09 ...
5 years, 8 months ago (2015-04-09 12:42:36 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1055183003/90001
5 years, 8 months ago (2015-04-09 12:43:09 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:90001)
5 years, 8 months ago (2015-04-09 13:56:29 UTC) #15
commit-bot: I haz the power
5 years, 8 months ago (2015-04-09 13:57:27 UTC) #16
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/181fd73aa111fff257616435820a6392e309a5e5
Cr-Commit-Position: refs/heads/master@{#324429}

Powered by Google App Engine
This is Rietveld 408576698