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

Issue 148233008: Grant Files.app access for mount points added after its launch. (Closed)

Created:
6 years, 10 months ago by kinaba
Modified:
6 years, 10 months ago
Reviewers:
hashimoto, satorux1
CC:
chromium-reviews, nkostylev+watch_chromium.org, tzik, nhiroki, oshima+watch_chromium.org, kinuko+watch, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Grant Files.app access for mount points added after its launch. Previous implementation of GrantFullAccessToExtension() granted permissions only for paths that are mounted at that moment, and required hack for one dynamically mounted path, namely, Google Drive directory. It's not what is meant for GrantFullAccessToExtension(). Rather, it should just simply allow access for the extension any time. In multi-profile settings, more directories, i.e., Downloads/Drive directories from other profiles are going to be dynamically added. BUG=337705 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247852

Patch Set 1 : #

Total comments: 9

Patch Set 2 : Review fix. #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -55 lines) Patch
M chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc View 1 2 2 chunks +3 lines, -32 lines 0 comments Download
M chrome/browser/chromeos/fileapi/file_access_permissions.h View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/chromeos/fileapi/file_access_permissions.cc View 1 2 chunks +19 lines, -12 lines 0 comments Download
M chrome/browser/chromeos/fileapi/file_access_permissions_unittest.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/fileapi/file_system_backend.cc View 1 chunk +1 line, -10 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
kinaba
6 years, 10 months ago (2014-01-28 09:35:17 UTC) #1
hashimoto
lgtm https://codereview.chromium.org/148233008/diff/20001/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc File chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc (right): https://codereview.chromium.org/148233008/diff/20001/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc#newcode53 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc:53: const std::string& extension_id, nit: This is not used. ...
6 years, 10 months ago (2014-01-28 10:55:13 UTC) #2
kinaba
https://codereview.chromium.org/148233008/diff/20001/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc File chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc (right): https://codereview.chromium.org/148233008/diff/20001/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc#newcode53 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc:53: const std::string& extension_id, On 2014/01/28 10:55:13, hashimoto wrote: > ...
6 years, 10 months ago (2014-01-28 23:59:49 UTC) #3
kinaba
+satorux from c/b/cros OWNERs. (Or maybe shall I add myself to c/b/cros/fileapi/OWNER?)
6 years, 10 months ago (2014-01-29 00:20:22 UTC) #4
satorux1
LGTM. Please add kinaba@ to c/b/cros/fileapi/OWNERS
6 years, 10 months ago (2014-01-29 00:44:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/148233008/120001
6 years, 10 months ago (2014-01-29 00:51:48 UTC) #6
commit-bot: I haz the power
Retried try job too often on android_aosp for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_aosp&number=42983
6 years, 10 months ago (2014-01-29 15:46:11 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/148233008/120001
6 years, 10 months ago (2014-01-29 23:04:29 UTC) #8
commit-bot: I haz the power
6 years, 10 months ago (2014-01-30 06:25:15 UTC) #9
Message was sent while issue was closed.
Change committed as 247852

Powered by Google App Engine
This is Rietveld 408576698