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

Issue 10008100: gdata: Support mouting archive file in GData cache (Closed)

Created:
8 years, 8 months ago by hshi
Modified:
8 years, 8 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, mihaip+watch_chromium.org, Aaron Boodman, rginda+watch_chromium.org, arv (Not doing code reviews), stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

gdata: Support mounting archive files in GData cache Pass the file extension in the 2nd argument to DiskMountManager::MountPath to indicate the archive format (e.g.: .zip, .rar, etc.) When mounting and unmounting archive files in GData cache, call GDataFileSystem::SetMountedState to set or clear the "mounted" state accordingly. BUG=chromium-os:28678 TEST=Verify that mounting/unmounting archive files on GData works correctly.

Patch Set 1 #

Patch Set 2 : Test CL for Issue 28678 #

Patch Set 3 : Test CL for Issue 28678 #

Patch Set 4 : Test CL for Issue 28678 #

Patch Set 5 : gdata: Support mounting archive files under GData cache #

Total comments: 45

Patch Set 6 : gdata: Support mounting archive files in GData cache #

Total comments: 10

Patch Set 7 : gdata: Support mounting archive files in GData cache #

Patch Set 8 : gdata: Support mounting archive files in GData cache #

Total comments: 2

Patch Set 9 : gdata: Support mounting archive files in GData cache #

Total comments: 1

Patch Set 10 : gdata: Support mounting archive files in GData cache. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -20 lines) Patch
M chrome/browser/chromeos/disks/disk_mount_manager.h View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/disks/disk_mount_manager.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_browser_event_router.cc View 1 2 3 4 5 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_browser_private_api.h View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_browser_private_api.cc View 1 2 3 4 5 2 chunks +64 lines, -7 lines 0 comments Download
M chrome/browser/resources/file_manager/js/file_manager.js View 1 2 3 4 5 1 chunk +10 lines, -7 lines 0 comments Download
M chromeos/dbus/cros_disks_client.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/dbus/cros_disks_client.cc View 1 2 3 4 5 3 chunks +3 lines, -1 line 0 comments Download
M chromeos/dbus/mock_cros_disks_client.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
hshi
8 years, 8 months ago (2012-04-17 19:40:00 UTC) #1
Ben Chan
https://chromiumcodereview.appspot.com/10008100/diff/2005/chrome/browser/chromeos/disks/disk_mount_manager.cc File chrome/browser/chromeos/disks/disk_mount_manager.cc (right): https://chromiumcodereview.appspot.com/10008100/diff/2005/chrome/browser/chromeos/disks/disk_mount_manager.cc#newcode61 chrome/browser/chromeos/disks/disk_mount_manager.cc:61: const std::string& source_name, |source_name| -> |source_format| https://chromiumcodereview.appspot.com/10008100/diff/2005/chrome/browser/chromeos/disks/disk_mount_manager.h File chrome/browser/chromeos/disks/disk_mount_manager.h ...
8 years, 8 months ago (2012-04-17 20:57:53 UTC) #2
hshi
https://chromiumcodereview.appspot.com/10008100/diff/2005/chrome/browser/resources/file_manager/js/file_manager.js File chrome/browser/resources/file_manager/js/file_manager.js (right): https://chromiumcodereview.appspot.com/10008100/diff/2005/chrome/browser/resources/file_manager/js/file_manager.js#newcode2955 chrome/browser/resources/file_manager/js/file_manager.js:2955: this.resolveSelectResults_(urls, function(urls) { On 2012/04/17 20:57:53, Ben Chan wrote: ...
8 years, 8 months ago (2012-04-17 21:21:44 UTC) #3
tbarzic
https://chromiumcodereview.appspot.com/10008100/diff/2005/chrome/browser/chromeos/extensions/file_browser_private_api.cc File chrome/browser/chromeos/extensions/file_browser_private_api.cc (right): https://chromiumcodereview.appspot.com/10008100/diff/2005/chrome/browser/chromeos/extensions/file_browser_private_api.cc#newcode1010 chrome/browser/chromeos/extensions/file_browser_private_api.cc:1010: system_service->file_system()->IsUnderGDataCacheDirectory(source_path)) { are you sure this is ever satisfied? ...
8 years, 8 months ago (2012-04-17 21:33:13 UTC) #4
tbarzic
https://chromiumcodereview.appspot.com/10008100/diff/2005/chrome/browser/chromeos/extensions/file_browser_private_api.cc File chrome/browser/chromeos/extensions/file_browser_private_api.cc (right): https://chromiumcodereview.appspot.com/10008100/diff/2005/chrome/browser/chromeos/extensions/file_browser_private_api.cc#newcode1010 chrome/browser/chromeos/extensions/file_browser_private_api.cc:1010: system_service->file_system()->IsUnderGDataCacheDirectory(source_path)) { On 2012/04/17 21:33:13, tbarzic wrote: > are ...
8 years, 8 months ago (2012-04-17 21:51:03 UTC) #5
hshi
https://chromiumcodereview.appspot.com/10008100/diff/2005/chrome/browser/chromeos/gdata/gdata_file_system.h File chrome/browser/chromeos/gdata/gdata_file_system.h (right): https://chromiumcodereview.appspot.com/10008100/diff/2005/chrome/browser/chromeos/gdata/gdata_file_system.h#newcode193 chrome/browser/chromeos/gdata/gdata_file_system.h:193: CACHED_FILE_MOUNTED_ARCHIVE, On 2012/04/17 21:33:13, tbarzic wrote: > We should ...
8 years, 8 months ago (2012-04-17 22:10:39 UTC) #6
hshi
https://chromiumcodereview.appspot.com/10008100/diff/2005/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): https://chromiumcodereview.appspot.com/10008100/diff/2005/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2017 chrome/browser/chromeos/gdata/gdata_file_system.cc:2017: const FileOperationCallback& callback) { On 2012/04/17 21:33:13, tbarzic wrote: ...
8 years, 8 months ago (2012-04-17 22:36:44 UTC) #7
tbarzic
https://chromiumcodereview.appspot.com/10008100/diff/2005/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): https://chromiumcodereview.appspot.com/10008100/diff/2005/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2017 chrome/browser/chromeos/gdata/gdata_file_system.cc:2017: const FileOperationCallback& callback) { On 2012/04/17 22:36:45, hshi wrote: ...
8 years, 8 months ago (2012-04-17 23:01:09 UTC) #8
hshi
Please review Patch Set #6 which addresses Ben's and Toni's comments regarding Patch Set #5. ...
8 years, 8 months ago (2012-04-17 23:55:29 UTC) #9
kuan
i only looked at gdata_file_system.* and gdata_files.h. http://codereview.chromium.org/10008100/diff/16002/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10008100/diff/16002/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2022 chrome/browser/chromeos/gdata/gdata_file_system.cc:2022: const SetMountedStateCallback& ...
8 years, 8 months ago (2012-04-18 00:36:36 UTC) #10
kuan
http://codereview.chromium.org/10008100/diff/16002/chrome/browser/chromeos/gdata/gdata_file_system.h File chrome/browser/chromeos/gdata/gdata_file_system.h (right): http://codereview.chromium.org/10008100/diff/16002/chrome/browser/chromeos/gdata/gdata_file_system.h#newcode406 chrome/browser/chromeos/gdata/gdata_file_system.h:406: // or evicted from cache. marking it as mounted ...
8 years, 8 months ago (2012-04-18 00:43:50 UTC) #11
hshi1
http://codereview.chromium.org/10008100/diff/16002/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10008100/diff/16002/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2022 chrome/browser/chromeos/gdata/gdata_file_system.cc:2022: const SetMountedStateCallback& callback) { (1) In terms of the ...
8 years, 8 months ago (2012-04-18 01:29:03 UTC) #12
kuan
http://codereview.chromium.org/10008100/diff/16002/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10008100/diff/16002/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2022 chrome/browser/chromeos/gdata/gdata_file_system.cc:2022: const SetMountedStateCallback& callback) { On 2012/04/18 01:29:05, hshi1 wrote: ...
8 years, 8 months ago (2012-04-18 11:32:53 UTC) #13
hshi1
http://codereview.chromium.org/10008100/diff/16002/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10008100/diff/16002/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2022 chrome/browser/chromeos/gdata/gdata_file_system.cc:2022: const SetMountedStateCallback& callback) { Thanks for the explanation, I ...
8 years, 8 months ago (2012-04-18 17:28:15 UTC) #14
kuan
http://codereview.chromium.org/10008100/diff/16002/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10008100/diff/16002/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2022 chrome/browser/chromeos/gdata/gdata_file_system.cc:2022: const SetMountedStateCallback& callback) { On 2012/04/18 17:28:15, hshi1 wrote: ...
8 years, 8 months ago (2012-04-18 17:39:19 UTC) #15
hshi
Hi could you please review this patch set #7. It addresses Kuan's comments for gdata_file_system.cc. ...
8 years, 8 months ago (2012-04-18 18:40:25 UTC) #16
Ben Chan
https://chromiumcodereview.appspot.com/10008100/diff/14014/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): https://chromiumcodereview.appspot.com/10008100/diff/14014/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2059 chrome/browser/chromeos/gdata/gdata_file_system.cc:2059: FilePath* cache_file_path) { DCHECK(error); DCHECK(cache_file_path);
8 years, 8 months ago (2012-04-18 19:38:14 UTC) #17
hshi
https://chromiumcodereview.appspot.com/10008100/diff/14014/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): https://chromiumcodereview.appspot.com/10008100/diff/14014/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2059 chrome/browser/chromeos/gdata/gdata_file_system.cc:2059: FilePath* cache_file_path) { Oops sorry forgot to check this. ...
8 years, 8 months ago (2012-04-18 19:46:42 UTC) #18
satorux1
hshi, can you split this patch to smaller patches? smaller patches are generally preferred for ...
8 years, 8 months ago (2012-04-18 21:08:45 UTC) #19
satorux1
https://chromiumcodereview.appspot.com/10008100/diff/2022/chromeos/dbus/cros_disks_client.h File chromeos/dbus/cros_disks_client.h (right): https://chromiumcodereview.appspot.com/10008100/diff/2022/chromeos/dbus/cros_disks_client.h#newcode182 chromeos/dbus/cros_disks_client.h:182: const std::string& source_format, you probably need to modify mock_cros_disks_client.h ...
8 years, 8 months ago (2012-04-18 21:09:40 UTC) #20
hshi
Hi, I have split this CL into two separate CLs as suggested by Santoru. Unfortunately ...
8 years, 8 months ago (2012-04-18 22:40:43 UTC) #21
hshi
8 years, 8 months ago (2012-04-18 23:40:18 UTC) #22
Sorry, Part#2 of the CL is published at a separate link
now:(http://codereview.chromium.org/10083067/). Due to the dependency, I had to
rebase part#2 whenever part#1 needs to change.

Powered by Google App Engine
This is Rietveld 408576698