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

Issue 1151763007: Add the boilerplate for actions to File System Provider API. (Closed)

Created:
5 years, 7 months ago by mtomasz
Modified:
5 years, 6 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, oshima+watch_chromium.org, asvitkine+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 the boilerplate for actions to File System Provider API. The new chrome.fileSystemProvider.onGetActionsRequested method is designed to provide special actions per files and directories, such as sharing, pinnig as well as custom ones such as eg. opening in a browser. TEST=unit_tests: *FileSystemProviderOperations*Actions* BUG=449525 Committed: https://crrev.com/2dad8077d9346332cf9853710b08223d6f7de19c Cr-Commit-Position: refs/heads/master@{#335641}

Patch Set 1 #

Patch Set 2 : Rebased + fixed a comment. #

Total comments: 8

Patch Set 3 : Rebased. #

Patch Set 4 : Fixed. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+549 lines, -22 lines) Patch
M chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h View 2 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/fake_provided_file_system.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
A + chrome/browser/chromeos/file_system_provider/operations/get_actions.h View 4 chunks +17 lines, -17 lines 0 comments Download
A chrome/browser/chromeos/file_system_provider/operations/get_actions.cc View 1 2 3 1 chunk +82 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/file_system_provider/operations/get_actions_unittest.cc View 1 2 3 1 chunk +235 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/provided_file_system.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/provided_file_system.cc View 1 2 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h View 1 2 3 3 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/request_manager.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/request_manager.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/request_value.h View 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/request_value.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/throttled_file_system.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/throttled_file_system.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/file_system_provider.idl View 1 2 3 7 chunks +70 lines, -3 lines 3 comments Download
M chrome/common/extensions/api/file_system_provider_internal.idl View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/renderer/resources/extensions/file_system_provider_custom_bindings.js View 1 chunk +22 lines, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tools/json_schema_compiler/cc_generator.py View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M tools/json_schema_compiler/test/idl_basics.idl View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (5 generated)
mtomasz
@isherman: PTAL at histograms. @benwells: PTAL at IDLs. @fukino: PTAL and everything else. Thanks.
5 years, 7 months ago (2015-05-27 08:08:16 UTC) #2
benwells
On 2015/05/27 08:08:16, mtomasz wrote: > @isherman: PTAL at histograms. > @benwells: PTAL at IDLs. ...
5 years, 7 months ago (2015-05-27 08:13:35 UTC) #3
mtomasz
On 2015/05/27 08:13:35, benwells wrote: > On 2015/05/27 08:08:16, mtomasz wrote: > > @isherman: PTAL ...
5 years, 7 months ago (2015-05-27 08:20:12 UTC) #4
mtomasz
On 2015/05/27 08:20:12, mtomasz wrote: > On 2015/05/27 08:13:35, benwells wrote: > > On 2015/05/27 ...
5 years, 7 months ago (2015-05-27 08:34:40 UTC) #5
Ilya Sherman
histograms lgtm
5 years, 7 months ago (2015-05-27 18:17:16 UTC) #6
benwells
On 2015/05/27 08:34:40, mtomasz wrote: > On 2015/05/27 08:20:12, mtomasz wrote: > > On 2015/05/27 ...
5 years, 7 months ago (2015-05-27 22:51:02 UTC) #7
not at google - send to devlin
https://codereview.chromium.org/1151763007/diff/20001/chrome/common/extensions/api/file_system_provider.idl File chrome/common/extensions/api/file_system_provider.idl (right): https://codereview.chromium.org/1151763007/diff/20001/chrome/common/extensions/api/file_system_provider.idl#newcode45 chrome/common/extensions/api/file_system_provider.idl:45: // <code>"PIN_TOGGLE"</code> for pinning (saving for offline access) and ...
5 years, 7 months ago (2015-05-27 23:37:58 UTC) #9
benwells
https://codereview.chromium.org/1151763007/diff/20001/chrome/common/extensions/api/file_system_provider.idl File chrome/common/extensions/api/file_system_provider.idl (right): https://codereview.chromium.org/1151763007/diff/20001/chrome/common/extensions/api/file_system_provider.idl#newcode45 chrome/common/extensions/api/file_system_provider.idl:45: // <code>"PIN_TOGGLE"</code> for pinning (saving for offline access) and ...
5 years, 7 months ago (2015-05-28 00:17:37 UTC) #10
mtomasz
https://codereview.chromium.org/1151763007/diff/20001/chrome/common/extensions/api/file_system_provider.idl File chrome/common/extensions/api/file_system_provider.idl (right): https://codereview.chromium.org/1151763007/diff/20001/chrome/common/extensions/api/file_system_provider.idl#newcode45 chrome/common/extensions/api/file_system_provider.idl:45: // <code>"PIN_TOGGLE"</code> for pinning (saving for offline access) and ...
5 years, 7 months ago (2015-05-28 04:12:15 UTC) #11
not at google - send to devlin
https://codereview.chromium.org/1151763007/diff/20001/chrome/common/extensions/api/file_system_provider.idl File chrome/common/extensions/api/file_system_provider.idl (right): https://codereview.chromium.org/1151763007/diff/20001/chrome/common/extensions/api/file_system_provider.idl#newcode410 chrome/common/extensions/api/file_system_provider.idl:410: ActionType type; On 2015/05/28 04:12:15, mtomasz wrote: > On ...
5 years, 6 months ago (2015-05-28 16:02:39 UTC) #12
mtomasz
@benwells, @fukino: PTAL again. Thanks. https://codereview.chromium.org/1151763007/diff/20001/chrome/common/extensions/api/file_system_provider.idl File chrome/common/extensions/api/file_system_provider.idl (right): https://codereview.chromium.org/1151763007/diff/20001/chrome/common/extensions/api/file_system_provider.idl#newcode45 chrome/common/extensions/api/file_system_provider.idl:45: // <code>"PIN_TOGGLE"</code> for pinning ...
5 years, 6 months ago (2015-06-23 02:05:36 UTC) #13
mtomasz
On 2015/06/23 02:05:36, mtomasz wrote: > @benwells, @fukino: PTAL again. Thanks. > > https://codereview.chromium.org/1151763007/diff/20001/chrome/common/extensions/api/file_system_provider.idl > ...
5 years, 6 months ago (2015-06-23 02:06:50 UTC) #14
mtomasz
Fixed diffs. PTAL.
5 years, 6 months ago (2015-06-23 02:19:59 UTC) #16
fukino
LGTM for files except for idls and histograms.
5 years, 6 months ago (2015-06-23 05:58:51 UTC) #17
benwells
https://codereview.chromium.org/1151763007/diff/80001/chrome/common/extensions/api/file_system_provider.idl File chrome/common/extensions/api/file_system_provider.idl (right): https://codereview.chromium.org/1151763007/diff/80001/chrome/common/extensions/api/file_system_provider.idl#newcode189 chrome/common/extensions/api/file_system_provider.idl:189: long requestId; Why is there a requestId?
5 years, 6 months ago (2015-06-23 06:29:39 UTC) #18
mtomasz
https://codereview.chromium.org/1151763007/diff/80001/chrome/common/extensions/api/file_system_provider.idl File chrome/common/extensions/api/file_system_provider.idl (right): https://codereview.chromium.org/1151763007/diff/80001/chrome/common/extensions/api/file_system_provider.idl#newcode189 chrome/common/extensions/api/file_system_provider.idl:189: long requestId; On 2015/06/23 06:29:38, benwells wrote: > Why ...
5 years, 6 months ago (2015-06-23 06:34:25 UTC) #19
benwells
lgtm https://codereview.chromium.org/1151763007/diff/80001/chrome/common/extensions/api/file_system_provider.idl File chrome/common/extensions/api/file_system_provider.idl (right): https://codereview.chromium.org/1151763007/diff/80001/chrome/common/extensions/api/file_system_provider.idl#newcode189 chrome/common/extensions/api/file_system_provider.idl:189: long requestId; On 2015/06/23 06:34:25, mtomasz wrote: > ...
5 years, 6 months ago (2015-06-23 06:51:06 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1151763007/80001
5 years, 6 months ago (2015-06-23 07:10:08 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 6 months ago (2015-06-23 07:15:46 UTC) #24
commit-bot: I haz the power
5 years, 6 months ago (2015-06-23 07:16:51 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2dad8077d9346332cf9853710b08223d6f7de19c
Cr-Commit-Position: refs/heads/master@{#335641}

Powered by Google App Engine
This is Rietveld 408576698