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

Issue 23658009: Replace mountType by volumeType on fileBrowserPrivate APIs. (Closed)

Created:
7 years, 3 months ago by hidehiko
Modified:
7 years, 3 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, rginda+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Replace mountType by volumeType on fileBrowserPrivate APIs. This is API clean up. The mountType is being replaced by VolumeType. This CL refactors private APIs about the flag. Note that this is preparation to return Drive as a Volume. BUG=279276 TEST=Ran unit_tests, browser_tests --gtest_filter="*FileSystemExtensionApiTest*:*FileManagerBrowserTest*:*FileBrowserPrivateApiTest*" and tested manually. R=benwells@chromium.org, kinaba@chromium.org, satorux@chromium.org, yoshiki@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221978

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -152 lines) Patch
M chrome/browser/chromeos/extensions/file_manager/event_router.cc View 1 2 3 4 3 chunks +19 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_mount.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc View 1 2 3 4 3 chunks +45 lines, -82 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_util.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_util.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/resources/file_manager/js/volume_manager.js View 6 chunks +13 lines, -13 lines 0 comments Download
M chrome/common/extensions/api/file_browser_private.json View 1 2 3 4 3 chunks +11 lines, -9 lines 0 comments Download
M chrome/test/data/extensions/api_test/filebrowser_mount/test.js View 1 chunk +5 lines, -4 lines 0 comments Download
M chromeos/dbus/cros_disks_client.h View 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/disks/disk_mount_manager.h View 1 chunk +0 lines, -6 lines 0 comments Download
M chromeos/disks/disk_mount_manager.cc View 2 chunks +0 lines, -33 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
hidehiko
Kazuhiro, could you review c/b/chromeos/extensions/file_manager/...? Yoshiki, could you review c/b/resources/file_manager/js/volume_manager.js? Ben, could you review file_browser_private.js ...
7 years, 3 months ago (2013-09-03 18:53:04 UTC) #1
satorux1
https://codereview.chromium.org/23658009/diff/1/chrome/browser/chromeos/extensions/file_manager/private_api_util.h File chrome/browser/chromeos/extensions/file_manager/private_api_util.h (right): https://codereview.chromium.org/23658009/diff/1/chrome/browser/chromeos/extensions/file_manager/private_api_util.h#newcode30 chrome/browser/chromeos/extensions/file_manager/private_api_util.h:30: std::string VolumeTypeToString(VolumeType type); Move this to volume_manager.h where VolumeType ...
7 years, 3 months ago (2013-09-04 05:01:55 UTC) #2
yoshiki
volume_manager.js lgtm.
7 years, 3 months ago (2013-09-04 05:09:22 UTC) #3
hidehiko
Thank you for your review. PTAL? https://codereview.chromium.org/23658009/diff/1/chrome/browser/chromeos/extensions/file_manager/private_api_util.h File chrome/browser/chromeos/extensions/file_manager/private_api_util.h (right): https://codereview.chromium.org/23658009/diff/1/chrome/browser/chromeos/extensions/file_manager/private_api_util.h#newcode30 chrome/browser/chromeos/extensions/file_manager/private_api_util.h:30: std::string VolumeTypeToString(VolumeType type); ...
7 years, 3 months ago (2013-09-04 05:13:24 UTC) #4
satorux1
LGTM with a request. https://codereview.chromium.org/23658009/diff/1/chrome/browser/chromeos/extensions/file_manager/private_api_util.h File chrome/browser/chromeos/extensions/file_manager/private_api_util.h (right): https://codereview.chromium.org/23658009/diff/1/chrome/browser/chromeos/extensions/file_manager/private_api_util.h#newcode30 chrome/browser/chromeos/extensions/file_manager/private_api_util.h:30: std::string VolumeTypeToString(VolumeType type); On 2013/09/04 ...
7 years, 3 months ago (2013-09-05 01:46:24 UTC) #5
hidehiko
Thank you for your review! Kazuhiro, Ben, could you kindly review, too? https://codereview.chromium.org/23658009/diff/1/chrome/browser/chromeos/extensions/file_manager/private_api_util.h File chrome/browser/chromeos/extensions/file_manager/private_api_util.h ...
7 years, 3 months ago (2013-09-05 03:12:40 UTC) #6
kinaba
lgtm
7 years, 3 months ago (2013-09-05 05:51:38 UTC) #7
benwells
https://codereview.chromium.org/23658009/diff/12001/chrome/common/extensions/api/file_browser_private.json File chrome/common/extensions/api/file_browser_private.json (right): https://codereview.chromium.org/23658009/diff/12001/chrome/common/extensions/api/file_browser_private.json#newcode287 chrome/common/extensions/api/file_browser_private.json:287: "enum": ["drive", "downloads", "removable", "archive"], Is it possible to ...
7 years, 3 months ago (2013-09-06 01:26:28 UTC) #8
satorux1
https://codereview.chromium.org/23658009/diff/12001/chrome/common/extensions/api/file_browser_private.json File chrome/common/extensions/api/file_browser_private.json (right): https://codereview.chromium.org/23658009/diff/12001/chrome/common/extensions/api/file_browser_private.json#newcode287 chrome/common/extensions/api/file_browser_private.json:287: "enum": ["drive", "downloads", "removable", "archive"], On 2013/09/06 01:26:28, benwells ...
7 years, 3 months ago (2013-09-06 01:57:36 UTC) #9
hidehiko
Thank you for your review. PTAL? https://codereview.chromium.org/23658009/diff/12001/chrome/common/extensions/api/file_browser_private.json File chrome/common/extensions/api/file_browser_private.json (right): https://codereview.chromium.org/23658009/diff/12001/chrome/common/extensions/api/file_browser_private.json#newcode287 chrome/common/extensions/api/file_browser_private.json:287: "enum": ["drive", "downloads", ...
7 years, 3 months ago (2013-09-06 03:50:39 UTC) #10
satorux1
LGTM https://codereview.chromium.org/23658009/diff/12001/chrome/common/extensions/api/file_browser_private.json File chrome/common/extensions/api/file_browser_private.json (right): https://codereview.chromium.org/23658009/diff/12001/chrome/common/extensions/api/file_browser_private.json#newcode287 chrome/common/extensions/api/file_browser_private.json:287: "enum": ["drive", "downloads", "removable", "archive"], On 2013/09/06 03:50:39, ...
7 years, 3 months ago (2013-09-06 04:17:58 UTC) #11
benwells
lgtm
7 years, 3 months ago (2013-09-06 23:03:52 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/23658009/23001
7 years, 3 months ago (2013-09-08 16:22:18 UTC) #13
commit-bot: I haz the power
Failed to apply patch for chrome/browser/chromeos/extensions/file_manager/event_router.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 3 months ago (2013-09-08 16:22:25 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/23658009/30001
7 years, 3 months ago (2013-09-09 02:10:59 UTC) #15
hidehiko
7 years, 3 months ago (2013-09-09 06:22:04 UTC) #16
Message was sent while issue was closed.
Committed patchset #5 manually as r221978 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698