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

Issue 2960433002: SavedFilesServiceInterface in //extensions (Closed)

Created:
3 years, 6 months ago by michaelpg
Modified:
3 years, 5 months ago
Reviewers:
benwells
CC:
chromium-reviews, extensions-reviews_chromium.org, tzik, tfarina, nhiroki, chromium-apps-reviews_chromium.org, kinuko+fileapi
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

SavedFilesServiceInterface in //extensions apps::SavedFilesService provides apps with a LRU queue of "retained" file entries they are allowed access to. See chrome.fileSystem API docs: https://developer.chrome.com/apps/fileSystem#method-retainEntry Chrome extension APIs can already use the service in //apps, but APIs implemented in //extensions cannot (they can't depend on //apps). This change enables moving chrome.fileSystem into //extensions. This CL makes apps::SavedFilesService derive from a new interface, extensions::SavedFilesServiceInterface. The new interface took a few methods from the original Service. BUG=729713 R=benwells@chromium.org Review-Url: https://codereview.chromium.org/2960433002 Cr-Commit-Position: refs/heads/master@{#482297} Committed: https://chromium.googlesource.com/chromium/src/+/868a94beaaa07d23125c241ef9f83ba4fa330fb8

Patch Set 1 #

Patch Set 2 : separate SavedFileEntry #

Patch Set 3 : remove unused include #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -69 lines) Patch
M apps/app_restore_service_browsertest.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M apps/saved_files_service.h View 1 3 chunks +14 lines, -46 lines 0 comments Download
M apps/saved_files_service.cc View 1 3 chunks +2 lines, -11 lines 0 comments Download
M apps/saved_files_service_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/developer_private/show_permissions_dialog_helper.cc View 1 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/file_system/file_system_api.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/file_system/file_system_apitest.cc View 1 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M extensions/browser/api/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A extensions/browser/api/file_system/BUILD.gn View 1 1 chunk +20 lines, -0 lines 0 comments Download
A extensions/browser/api/file_system/saved_file_entry.h View 1 1 chunk +40 lines, -0 lines 0 comments Download
A extensions/browser/api/file_system/saved_file_entry.cc View 1 1 chunk +20 lines, -0 lines 0 comments Download
A extensions/browser/api/file_system/saved_files_service_interface.h View 1 1 chunk +49 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 9 (5 generated)
michaelpg
PTAL.
3 years, 6 months ago (2017-06-23 20:45:49 UTC) #2
benwells
lgtm, thanks!
3 years, 5 months ago (2017-06-26 02:17:53 UTC) #3
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/2960433002/60001
3 years, 5 months ago (2017-06-26 15:29:06 UTC) #6
commit-bot: I haz the power
3 years, 5 months ago (2017-06-26 16:55:37 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/868a94beaaa07d23125c241ef9f8...

Powered by Google App Engine
This is Rietveld 408576698