|
Get rid of DriveEntryKind.
Basically DriveEntryKind is used for clasifying files into one of {Folder, Hosted document, Normal file}.
We can classify them without DriveEntryKind by using FileResource::IsDirectory() and their mime type.
Utility functions for clasification are now indepenent with ResourceEntry, and placed in drive_api_util.h.
ResourceEntryKind is defined to provide users of ResourceEntry (e.g. sync file system) with similar accessor to file kind.
BUG= 357038
TBR=rogerta@chromium.org for one line removal in .gyp file and .gn file.
TEST=run google_apis_unittests and unit_tests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282941
Total comments: 1
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+183 lines, -575 lines) |
Patch |
 |
M |
chrome/browser/chromeos/drive/change_list_processor_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system_util.cc
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system_util_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/resource_entry_conversion.cc
|
View
|
1
2
3
4
|
4 chunks |
+8 lines, -23 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/search_metadata.cc
|
View
|
1
|
2 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/sync/entry_update_performer.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_manager/file_tasks.cc
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/drive/drive_api_util.h
|
View
|
1
2
3
4
|
3 chunks |
+18 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/drive/drive_api_util.cc
|
View
|
1
2
3
4
|
4 chunks |
+52 lines, -111 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/drive/drive_api_util_unittest.cc
|
View
|
1
|
1 chunk |
+0 lines, -45 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc
|
View
|
1
|
6 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync_file_system/drive_backend/drive_backend_test_util.cc
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc
|
View
|
1
|
10 chunks |
+30 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync_file_system/drive_backend/metadata_database.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync_file_system/drive_backend_v1/api_util.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc
|
View
|
1
|
11 chunks |
+15 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc
|
View
|
1
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/chromeos/drive_internals_ui.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
google_apis/BUILD.gn
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
google_apis/drive/drive_entry_kinds.h
|
View
|
1
|
1 chunk |
+0 lines, -40 lines |
0 comments
|
Download
|
 |
M |
google_apis/drive/gdata_wapi_parser.h
|
View
|
1
|
5 chunks |
+12 lines, -55 lines |
0 comments
|
Download
|
 |
M |
google_apis/drive/gdata_wapi_parser.cc
|
View
|
1
|
3 chunks |
+6 lines, -110 lines |
0 comments
|
Download
|
 |
M |
google_apis/drive/gdata_wapi_parser_unittest.cc
|
View
|
1
|
6 chunks |
+10 lines, -94 lines |
0 comments
|
Download
|
 |
M |
google_apis/google_apis.gyp
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|