|
drive: Add showroot=true to WAPI feed URLs and ignore "no parent" entries.
Forces DriveResourceMetadata to completely reject "no parent" entries (except the root).
Makes ChangeListLoader to ignore "no parent" entries coming from the server.
showroot=true lets us know the entries belonging to the "My Drive" root, so this CL only impacts the entries
those are not in "My Drive".
e.g. shared-with-me entries and entries the user (or a Drive app) explicitly set "no parent".
BUG= 174233, 164119
TEST=unittests. Open Files App and verify Google Drive is available. Note that this CL changes the behavior about "no parent" entries.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187734
Total comments: 10
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+155 lines, -86 lines) |
Patch |
 |
M |
chrome/browser/chromeos/drive/change_list_processor.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/drive_file_system_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/drive_resource_metadata.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/drive_resource_metadata.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/drive_resource_metadata_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+1 line, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/resource_entry_conversion.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/google_apis/fake_drive_service_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/google_apis/gdata_wapi_operations_unittest.cc
|
View
|
1
2
3
4
|
22 chunks |
+33 lines, -25 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/google_apis/gdata_wapi_url_generator.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/google_apis/gdata_wapi_url_generator_unittest.cc
|
View
|
1
2
3
4
|
14 chunks |
+27 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/chromeos/gdata/delta_file_added_in_directory.json
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/chromeos/gdata/delta_file_added_in_new_directory.json
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/chromeos/gdata/delta_file_added_in_root.json
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/chromeos/gdata/delta_file_deleted_in_root.json
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/chromeos/gdata/delta_file_moved_from_directory_to_root.json
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/chromeos/gdata/delta_file_renamed_in_directory.json
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/chromeos/gdata/remote_file_system_apitest_root_feed.json
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/chromeos/gdata/root_feed.json
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/chromeos/gdata/uploaded_file.json
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
Total messages: 14 (0 generated)
|