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

Issue 13149003: drive: Use "/drive/root" namespace and fix Files app and tests. (Closed)

Created:
7 years, 8 months ago by Haruki Sato
Modified:
7 years, 8 months ago
Reviewers:
hidehiko, satorux1, kinaba
CC:
chromium-reviews, nkostylev+watch_chromium.org, tzik+watch_chromium.org, achuith+watch_chromium.org, Aaron Boodman, rginda+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, kinuko+watch, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

drive: Use "/drive/root" namespace and fix Files app and tests. Create "/drive/root" at DriveResourceMetadata initialization. "/drive/other" is also created but is empty for now. BUG=174233 TEST=unittests. Open Files App and verify Google Drive is available. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192554

Patch Set 1 : #

Patch Set 2 : unittests fixed. #

Total comments: 2

Patch Set 3 : whitespace fix. #

Patch Set 4 : fix browser_tests #

Patch Set 5 : fixed LocalFileSystemExtensionApiTest which I have broken in this CL actually. #

Total comments: 4

Patch Set 6 : rebase #

Total comments: 8

Patch Set 7 : rebased on 192437. #

Patch Set 8 : address comments, fix drive_resource_metadata_unittest. #

Patch Set 9 : Fix merge glitches. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+504 lines, -375 lines) Patch
M chrome/browser/chromeos/drive/change_list_loader.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_file_system.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/drive/drive_file_system_unittest.cc View 1 2 3 4 5 6 7 68 chunks +234 lines, -179 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_file_system_util.h View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_prefetcher_unittest.cc View 1 2 3 4 5 6 7 1 chunk +22 lines, -17 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_resource_metadata.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/drive/drive_resource_metadata.cc View 9 chunks +36 lines, -12 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_resource_metadata_storage.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/drive/drive_resource_metadata_unittest.cc View 1 2 3 4 5 6 7 8 51 chunks +116 lines, -98 lines 0 comments Download
M chrome/browser/chromeos/drive/file_system/create_directory_operation_unittest.cc View 2 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/drive/search_metadata_unittest.cc View 6 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/resources/file_manager/js/directory_model.js View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/file_manager/js/path_util.js View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/drive_internals_ui.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/chromeos/gdata/delta_dir_moved_from_root_to_directory.json View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/file_browser/drive_search_test/test.js View 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/test/data/extensions/api_test/file_browser/file_watcher_test/test.js View 1 2 3 4 9 chunks +25 lines, -10 lines 0 comments Download
M chrome/test/data/extensions/api_test/file_browser/filesystem_operations_test/test.js View 1 2 3 4 5 chunks +28 lines, -20 lines 0 comments Download
M chrome/test/data/extensions/api_test/file_browser/handler_test_runner/test.js View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Haruki Sato
Thanks to your help, changes for test is factored out. Could you take a look? ...
7 years, 8 months ago (2013-03-29 08:02:37 UTC) #1
hidehiko
lgtm with a nit. https://codereview.chromium.org/13149003/diff/5001/chrome/browser/chromeos/drive/drive_file_system_unittest.cc File chrome/browser/chromeos/drive/drive_file_system_unittest.cc (right): https://codereview.chromium.org/13149003/diff/5001/chrome/browser/chromeos/drive/drive_file_system_unittest.cc#newcode1103 chrome/browser/chromeos/drive/drive_file_system_unittest.cc:1103: Don't need to edit?
7 years, 8 months ago (2013-04-01 04:21:51 UTC) #2
kinaba
lgtm
7 years, 8 months ago (2013-04-01 04:30:35 UTC) #3
Haruki Sato
Thank you for the review. Some browser_tests are fixed. I also just uploaded the following ...
7 years, 8 months ago (2013-04-02 07:54:18 UTC) #4
hidehiko
Two nitpicks. https://codereview.chromium.org/13149003/diff/21001/chrome/browser/chromeos/drive/drive_file_system_unittest.cc File chrome/browser/chromeos/drive/drive_file_system_unittest.cc (right): https://codereview.chromium.org/13149003/diff/21001/chrome/browser/chromeos/drive/drive_file_system_unittest.cc#newcode435 chrome/browser/chromeos/drive/drive_file_system_unittest.cc:435: base::FilePath file_path; Unnecessary variable? https://codereview.chromium.org/13149003/diff/21001/chrome/test/data/extensions/api_test/file_browser/file_watcher_test/test.js File chrome/test/data/extensions/api_test/file_browser/file_watcher_test/test.js ...
7 years, 8 months ago (2013-04-02 08:09:29 UTC) #5
Haruki Sato
Thank you for the review. Abe-san, Kinaba-san, Do you know how to add a JS ...
7 years, 8 months ago (2013-04-03 04:33:41 UTC) #6
kinaba
On 2013/04/03 04:33:41, Haruki Sato wrote: > Thank you for the review. > > Abe-san, ...
7 years, 8 months ago (2013-04-03 04:54:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haruki@chromium.org/13149003/21001
7 years, 8 months ago (2013-04-04 02:52:41 UTC) #8
commit-bot: I haz the power
Failed to apply patch for chrome/browser/chromeos/drive/drive_file_system_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-04-04 02:52:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haruki@chromium.org/13149003/35001
7 years, 8 months ago (2013-04-04 03:08:29 UTC) #10
commit-bot: I haz the power
Presubmit check for 13149003-35001 failed and returned exit status 1. INFO:root:Found 19 file(s). Running presubmit ...
7 years, 8 months ago (2013-04-04 03:08:36 UTC) #11
Haruki Sato
Satoru-san, could you OWNER-review for chrome/browser/ui/webui/chromeos/OWNERS ?
7 years, 8 months ago (2013-04-04 03:11:48 UTC) #12
satorux1
https://codereview.chromium.org/13149003/diff/35001/chrome/browser/chromeos/drive/drive_file_system_unittest.cc File chrome/browser/chromeos/drive/drive_file_system_unittest.cc (right): https://codereview.chromium.org/13149003/diff/35001/chrome/browser/chromeos/drive/drive_file_system_unittest.cc#newcode540 chrome/browser/chromeos/drive/drive_file_system_unittest.cc:540: TEST_F(DriveFileSystemTest, GetMyDriveRootEntry) { Shouldn't we have a test for ...
7 years, 8 months ago (2013-04-05 01:55:30 UTC) #13
Haruki Sato
https://codereview.chromium.org/13149003/diff/35001/chrome/browser/chromeos/drive/drive_file_system_unittest.cc File chrome/browser/chromeos/drive/drive_file_system_unittest.cc (right): https://codereview.chromium.org/13149003/diff/35001/chrome/browser/chromeos/drive/drive_file_system_unittest.cc#newcode540 chrome/browser/chromeos/drive/drive_file_system_unittest.cc:540: TEST_F(DriveFileSystemTest, GetMyDriveRootEntry) { On 2013/04/05 01:55:30, satorux1 wrote: > ...
7 years, 8 months ago (2013-04-05 04:35:25 UTC) #14
satorux1
hmm, Patch Set 7 contains a lot of unnecessary changes... Could you remove Patch Set ...
7 years, 8 months ago (2013-04-05 04:45:01 UTC) #15
satorux1
I meant unrelated changes.
7 years, 8 months ago (2013-04-05 04:45:16 UTC) #16
Haruki Sato
On 2013/04/05 04:45:16, satorux1 wrote: > I meant unrelated changes. How is this now? Does ...
7 years, 8 months ago (2013-04-05 05:48:28 UTC) #17
satorux1
LGTM
7 years, 8 months ago (2013-04-05 05:50:24 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haruki@chromium.org/13149003/60004
7 years, 8 months ago (2013-04-05 05:51:06 UTC) #19
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=99873
7 years, 8 months ago (2013-04-05 06:55:39 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haruki@chromium.org/13149003/21002
7 years, 8 months ago (2013-04-05 07:17:40 UTC) #21
commit-bot: I haz the power
7 years, 8 months ago (2013-04-05 13:16:56 UTC) #22
Message was sent while issue was closed.
Change committed as 192554

Powered by Google App Engine
This is Rietveld 408576698