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

Issue 6749021: Added new fileBrowserPrivate and fileHandler extension APIs (Closed)

Created:
9 years, 9 months ago by zel
Modified:
9 years, 6 months ago
CC:
chromium-reviews, Erik does not do reviews, pam+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

New fileBrowserPrivate and fileHandler APIs added + plus magic needed to safely hand over access to local file system elements from content extension to 3rd party extension. As agreed with aa@ and asargent@, this new API defines following event: chrome.fileHandler.onExecute.addListener(function(id, file_entries) { } This event is invoked when user selects files in ChromeOS file browser. The extension needs to register itself as file content hanlder with following manifest changes: ... "file_browser_actions": [ { "id" : "ActionIdentifier", "default_title" : "Action title", "default_icon" : "icon.png", "file_filters" : [ "filesystem:*.jpeg", ... ] } ... ], ... BUG=chromium-os:11996 TEST=ExtensionApiTest.FileBrowserTest, ExtensionManifestTest.FileBrowserActions Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=81869

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 22

Patch Set 9 : '' #

Patch Set 10 : '' #

Total comments: 12

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Total comments: 14

Patch Set 14 : '' #

Patch Set 15 : '' #

Patch Set 16 : '' #

Patch Set 17 : '' #

Patch Set 18 : '' #

Total comments: 8

Patch Set 19 : '' #

Total comments: 12

Patch Set 20 : '' #

Patch Set 21 : '' #

Patch Set 22 : '' #

Patch Set 23 : '' #

Total comments: 13

Patch Set 24 : '' #

Patch Set 25 : '' #

Patch Set 26 : '' #

Patch Set 27 : '' #

Total comments: 2

Patch Set 28 : '' #

Patch Set 29 : '' #

Total comments: 70

Patch Set 30 : '' #

Patch Set 31 : '' #

Patch Set 32 : '' #

Total comments: 8

Patch Set 33 : '' #

Patch Set 34 : '' #

Patch Set 35 : '' #

Total comments: 2

Patch Set 36 : '' #

Patch Set 37 : '' #

Patch Set 38 : '' #

Patch Set 39 : '' #

Patch Set 40 : '' #

Patch Set 41 : '' #

Patch Set 42 : '' #

Patch Set 43 : '' #

Patch Set 44 : '' #

Patch Set 45 : '' #

Patch Set 46 : '' #

Patch Set 47 : '' #

Patch Set 48 : '' #

Patch Set 49 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1450 lines, -58 lines) Patch
M chrome/browser/extensions/extension_file_browser_private_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +44 lines, -11 lines 0 comments Download
M chrome/browser/extensions/extension_file_browser_private_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 3 chunks +588 lines, -17 lines 0 comments Download
M chrome/browser/extensions/extension_function_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 4 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/extensions/extension_local_filesystem_apitest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 2 chunks +94 lines, -1 line 0 comments Download
M chrome/common/extensions/extension.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 7 chunks +17 lines, -1 line 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 7 chunks +113 lines, -4 lines 0 comments Download
M chrome/common/extensions/extension_constants.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_manifests_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 2 chunks +37 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +0 lines, -4 lines 0 comments Download
A chrome/common/extensions/file_browser_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +64 lines, -0 lines 0 comments Download
A chrome/common/extensions/file_browser_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/common/extensions/url_pattern.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 2 chunks +8 lines, -7 lines 0 comments Download
M chrome/common/extensions/url_pattern.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/event_bindings.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 2 chunks +34 lines, -0 lines 0 comments Download
M chrome/renderer/resources/event_bindings.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/renderer/resources/renderer_extension_bindings.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/filebrowser_component/background.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/filebrowser_component/main.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 1 chunk +136 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/filebrowser_component/manifest.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +14 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/filesystem_handler/background.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/filesystem_handler/manifest.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +21 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/filesystem_handler/tab.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 38 1 chunk +69 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/local_filesystem/manifest.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +1 line, -1 line 0 comments Download
A chrome/test/data/extensions/manifest_tests/filebrowser_invalid_action_id.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +13 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/manifest_tests/filebrowser_invalid_action_title.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +13 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/manifest_tests/filebrowser_invalid_actions_1.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/manifest_tests/filebrowser_invalid_actions_2.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +7 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/manifest_tests/filebrowser_invalid_file_filters_1.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/manifest_tests/filebrowser_invalid_file_filters_2.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +14 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/manifest_tests/filebrowser_invalid_file_filters_url.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +14 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/manifest_tests/filebrowser_valid.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (0 generated)
zel
Let's get an early start on this review since it's pretty big. I am about ...
9 years, 8 months ago (2011-03-31 03:57:07 UTC) #1
ericu
http://codereview.chromium.org/6749021/diff/19004/chrome/browser/extensions/extension_file_browser_private_api.cc File chrome/browser/extensions/extension_file_browser_private_api.cc (right): http://codereview.chromium.org/6749021/diff/19004/chrome/browser/extensions/extension_file_browser_private_api.cc#newcode410 chrome/browser/extensions/extension_file_browser_private_api.cc:410: return file_url.append(MakeFileHash(file_url, extension_id)); So this will look like filesystem:chrome-extension://{id}/local/path/to/file.html{hash} ...
9 years, 8 months ago (2011-03-31 21:31:05 UTC) #2
zel
http://codereview.chromium.org/6749021/diff/19004/chrome/browser/extensions/extension_file_browser_private_api.cc File chrome/browser/extensions/extension_file_browser_private_api.cc (right): http://codereview.chromium.org/6749021/diff/19004/chrome/browser/extensions/extension_file_browser_private_api.cc#newcode410 chrome/browser/extensions/extension_file_browser_private_api.cc:410: return file_url.append(MakeFileHash(file_url, extension_id)); On 2011/03/31 21:31:06, ericu wrote: > ...
9 years, 8 months ago (2011-04-01 03:01:35 UTC) #3
zel
+abarth
9 years, 8 months ago (2011-04-01 03:01:56 UTC) #4
ericu
I'll leave most of the reviewing to security and extension folks at this point, but ...
9 years, 8 months ago (2011-04-02 01:16:05 UTC) #5
asargent_no_longer_on_chrome
http://codereview.chromium.org/6749021/diff/30004/chrome/browser/tab_contents/context_menu_utils.h File chrome/browser/tab_contents/context_menu_utils.h (right): http://codereview.chromium.org/6749021/diff/30004/chrome/browser/tab_contents/context_menu_utils.h#newcode28 chrome/browser/tab_contents/context_menu_utils.h:28: private: nit: I think you need a space before ...
9 years, 8 months ago (2011-04-04 18:21:25 UTC) #6
zel
http://codereview.chromium.org/6749021/diff/19004/chrome/browser/extensions/extension_file_browser_private_api.cc File chrome/browser/extensions/extension_file_browser_private_api.cc (right): http://codereview.chromium.org/6749021/diff/19004/chrome/browser/extensions/extension_file_browser_private_api.cc#newcode410 chrome/browser/extensions/extension_file_browser_private_api.cc:410: return file_url.append(MakeFileHash(file_url, extension_id)); On 2011/04/02 01:16:05, ericu wrote: > ...
9 years, 8 months ago (2011-04-06 00:06:32 UTC) #7
abarth-chromium
This patch is too large for my puny little brain. From what I can tell, ...
9 years, 8 months ago (2011-04-06 02:17:32 UTC) #8
abarth-chromium
BTW, how does this interact with directories (i.e., if the URL is the URL of ...
9 years, 8 months ago (2011-04-06 02:46:36 UTC) #9
ericu
http://codereview.chromium.org/6749021/diff/40001/chrome/browser/extensions/extension_file_browser_private_api.h File chrome/browser/extensions/extension_file_browser_private_api.h (right): http://codereview.chromium.org/6749021/diff/40001/chrome/browser/extensions/extension_file_browser_private_api.h#newcode59 chrome/browser/extensions/extension_file_browser_private_api.h:59: // this routine attached to it. The hash ensures ...
9 years, 8 months ago (2011-04-06 03:50:08 UTC) #10
abarth-chromium
Is there some reason we're using crypto instead of just keeping a hashtable of these ...
9 years, 8 months ago (2011-04-06 03:58:41 UTC) #11
zel
The DirectoryEntry will work to a certain degree. The caller extension should be able to ...
9 years, 8 months ago (2011-04-06 04:33:17 UTC) #12
abarth-chromium
What sort of directory traversal exists in DirectoryEntry? Can I get parent directory entries? Can ...
9 years, 8 months ago (2011-04-06 04:50:09 UTC) #13
zelidrag1
Yes, there are mechanism for directory traversal for the entire exposed file system instance. The ...
9 years, 8 months ago (2011-04-06 05:14:26 UTC) #14
zel
http://codereview.chromium.org/6749021/diff/40001/chrome/browser/extensions/extension_file_browser_private_api.cc File chrome/browser/extensions/extension_file_browser_private_api.cc (right): http://codereview.chromium.org/6749021/diff/40001/chrome/browser/extensions/extension_file_browser_private_api.cc#newcode218 chrome/browser/extensions/extension_file_browser_private_api.cc:218: 256)); On 2011/04/06 02:17:32, abarth wrote: > Should 256 ...
9 years, 8 months ago (2011-04-06 05:25:17 UTC) #15
abarth-chromium
On Tue, Apr 5, 2011 at 10:14 PM, Zelidrag Hornung <zelidrag@google.com> wrote: > Yes, there ...
9 years, 8 months ago (2011-04-06 05:50:26 UTC) #16
abarth-chromium
On Tue, Apr 5, 2011 at 10:25 PM, <zelidrag@chromium.org> wrote: > > http://codereview.chromium.org/6749021/diff/40001/chrome/browser/extensions/extension_file_browser_private_api.cc > File ...
9 years, 8 months ago (2011-04-06 05:53:22 UTC) #17
ericu
On Tue, Apr 5, 2011 at 10:14 PM, Zelidrag Hornung <zelidrag@google.com> wrote: > Yes, there ...
9 years, 8 months ago (2011-04-06 17:32:30 UTC) #18
zel
PTAL I have completely removed hash business and went with Adam's suggestion to keep the ...
9 years, 8 months ago (2011-04-06 21:28:29 UTC) #19
ericu
The new security model looks like it deals with directories properly. It looks to me ...
9 years, 8 months ago (2011-04-07 01:40:58 UTC) #20
zel
Yes, the handler extension will always get the full filesystem URL, even though it might ...
9 years, 8 months ago (2011-04-07 02:54:42 UTC) #21
abarth-chromium
http://codereview.chromium.org/6749021/diff/49001/chrome/browser/extensions/extension_file_browser_private_api.cc File chrome/browser/extensions/extension_file_browser_private_api.cc (right): http://codereview.chromium.org/6749021/diff/49001/chrome/browser/extensions/extension_file_browser_private_api.cc#newcode37 chrome/browser/extensions/extension_file_browser_private_api.cc:37: const char kInvalidFileUrl[] = "Invalid file URL"; Does these ...
9 years, 8 months ago (2011-04-07 23:09:20 UTC) #22
zel
http://codereview.chromium.org/6749021/diff/49001/chrome/browser/extensions/extension_file_browser_private_api.cc File chrome/browser/extensions/extension_file_browser_private_api.cc (right): http://codereview.chromium.org/6749021/diff/49001/chrome/browser/extensions/extension_file_browser_private_api.cc#newcode37 chrome/browser/extensions/extension_file_browser_private_api.cc:37: const char kInvalidFileUrl[] = "Invalid file URL"; On 2011/04/07 ...
9 years, 8 months ago (2011-04-07 23:11:00 UTC) #23
abarth-chromium
My basic opinion is that this patch is too large to review accurately. I'm sure ...
9 years, 8 months ago (2011-04-07 23:14:56 UTC) #24
zel
I can address URL construction concerns if someone here can point me which class would ...
9 years, 8 months ago (2011-04-07 23:23:45 UTC) #25
ericu
The filesystem stuff looks pretty good now; I look forward to seeing the tests. I'll ...
9 years, 8 months ago (2011-04-08 02:12:14 UTC) #26
zel
Eric, I have addressed your issues in following files. Please note that I have also ...
9 years, 8 months ago (2011-04-08 04:16:36 UTC) #27
zel
The highlights of the latest snapshot are: * I have added extension tests that execute ...
9 years, 8 months ago (2011-04-08 04:56:48 UTC) #28
olivia69xx
http://www.erosad204574.htm
9 years, 8 months ago (2011-04-08 18:17:57 UTC) #29
olivia69xx
http://www.olivia-bostongfe.escort-site.com
9 years, 8 months ago (2011-04-08 18:34:23 UTC) #30
asargent_no_longer_on_chrome
http://codereview.chromium.org/6749021/diff/42043/chrome/browser/extensions/extension_context_menu_api.cc File chrome/browser/extensions/extension_context_menu_api.cc (right): http://codereview.chromium.org/6749021/diff/42043/chrome/browser/extensions/extension_context_menu_api.cc#newcode69 chrome/browser/extensions/extension_context_menu_api.cc:69: tmp_result.Add(ExtensionMenuItem::FILE); As a heads up, you'll get a merge ...
9 years, 8 months ago (2011-04-08 18:52:32 UTC) #31
zel
http://codereview.chromium.org/6749021/diff/42043/chrome/browser/extensions/extension_context_menu_api.cc File chrome/browser/extensions/extension_context_menu_api.cc (right): http://codereview.chromium.org/6749021/diff/42043/chrome/browser/extensions/extension_context_menu_api.cc#newcode69 chrome/browser/extensions/extension_context_menu_api.cc:69: tmp_result.Add(ExtensionMenuItem::FILE); On 2011/04/08 18:52:33, Antony Sargent wrote: > As ...
9 years, 8 months ago (2011-04-08 19:35:01 UTC) #32
Aaron Boodman
(responding to adam's concerns...) Maybe now would be a good time to request a design ...
9 years, 8 months ago (2011-04-08 22:51:04 UTC) #33
aa
Hm, some people reported the URL was broken: https://docs.google.com/a/google.com/document/d/1UsHPgW6XJ8hfdHnR39SbpQ41OleTaDbYzLSbqetVCuY/edit?hl=en# - a On Fri, Apr 8, ...
9 years, 8 months ago (2011-04-08 23:11:35 UTC) #34
Aaron Boodman
I'm really sorry. I forgot that you did in fact send out a design doc ...
9 years, 8 months ago (2011-04-09 02:47:03 UTC) #35
asargent_no_longer_on_chrome
http://codereview.chromium.org/6749021/diff/61014/chrome/browser/extensions/extension_menu_manager.cc File chrome/browser/extensions/extension_menu_manager.cc (right): http://codereview.chromium.org/6749021/diff/61014/chrome/browser/extensions/extension_menu_manager.cc#newcode409 chrome/browser/extensions/extension_menu_manager.cc:409: properties->SetString("mediaType", "file"); I think you can remove this change, ...
9 years, 8 months ago (2011-04-12 21:09:38 UTC) #36
Aaron Boodman
And you're still going to make the change to remove chrome.fileSystem.resolveURL, right? (using the Event.dispatch() ...
9 years, 8 months ago (2011-04-12 22:47:21 UTC) #37
Aaron Boodman
http://codereview.chromium.org/6749021/diff/61014/chrome/common/extensions/extension.cc File chrome/common/extensions/extension.cc (right): http://codereview.chromium.org/6749021/diff/61014/chrome/common/extensions/extension.cc#newcode912 chrome/common/extensions/extension.cc:912: if (!file_browser_actions->HasKey(keys::kPageActionId) || On 2011/04/12 22:47:21, Aaron Boodman wrote: ...
9 years, 8 months ago (2011-04-12 22:48:20 UTC) #38
zel
Yes, I am working on removal of chrome.fileSystem.resolveURL right now. Will be ready in 1-2 ...
9 years, 8 months ago (2011-04-12 23:09:10 UTC) #39
zel
Few highlights here: 1. I have got rid of chrome.fileSystem.resolveLocalFileSystemURL() since we pass the real ...
9 years, 8 months ago (2011-04-13 17:49:55 UTC) #40
Aaron Boodman
Basically: s/filebrowseraction/filebrowserhandler/g and make sure this only is available on Chrome OS, and I am ...
9 years, 8 months ago (2011-04-13 18:08:03 UTC) #41
zel
http://codereview.chromium.org/6749021/diff/61014/chrome/browser/extensions/extension_function_dispatcher.cc File chrome/browser/extensions/extension_function_dispatcher.cc (right): http://codereview.chromium.org/6749021/diff/61014/chrome/browser/extensions/extension_function_dispatcher.cc#newcode205 chrome/browser/extensions/extension_function_dispatcher.cc:205: // fileSystem functions. On 2011/04/13 18:08:03, Aaron Boodman wrote: ...
9 years, 8 months ago (2011-04-14 21:58:05 UTC) #42
Aaron Boodman
One last naming thing. LGTM, no need for another review pass. http://codereview.chromium.org/6749021/diff/73003/chrome/common/extensions/api/extension_api.json File chrome/common/extensions/api/extension_api.json (right): ...
9 years, 8 months ago (2011-04-14 22:04:34 UTC) #43
Evan Martin
Drive-by: Can you make the first line of the change summary be a summary of ...
9 years, 8 months ago (2011-04-14 22:06:32 UTC) #44
asargent_no_longer_on_chrome
lgtm as well assuming you address the final nits brought up by others
9 years, 8 months ago (2011-04-14 22:11:46 UTC) #45
zel
yes, sorry there were other flavors of this in different CLs so I used this ...
9 years, 8 months ago (2011-04-14 22:12:59 UTC) #46
zel
9 years, 8 months ago (2011-04-14 23:51:11 UTC) #47
http://codereview.chromium.org/6749021/diff/73003/chrome/common/extensions/ap...
File chrome/common/extensions/api/extension_api.json (right):

http://codereview.chromium.org/6749021/diff/73003/chrome/common/extensions/ap...
chrome/common/extensions/api/extension_api.json:4522: "name": "onExecuteAction",
On 2011/04/14 22:04:34, Aaron Boodman wrote:
> How about 'onExecute' since there is no 'action' in this API anymore.

Yes, I've been thinking about the same rename now when 'handler' is part of the
event name. Done.

Powered by Google App Engine
This is Rietveld 408576698