|
Refactoring: replace SearchInDirectory by SearchByTitle.
The requirement of SearchInDirectory is just title exact-match search.
This CL is the preparation of it by replacing the method by SearchByTitle. Also
this moves the responsibility of escaping (and query formatting) from sync
drive service to google_apis. This is because the query formatting is different
between GData WAPI and Drive API v2, and the gap is filled in
DriveServiceInterface layer. At the moment, this CL shouldn't change the
behavior yet (i.e. still partial match).
BUG= 232352
TEST=Ran unit_tests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195528
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+109 lines, -193 lines) |
Patch |
|
M |
chrome/browser/google_apis/drive_api_service.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/google_apis/drive_api_service.cc
|
View
|
1
2
|
1 chunk |
+14 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/browser/google_apis/drive_service_interface.h
|
View
|
|
1 chunk |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/google_apis/dummy_drive_service.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/google_apis/dummy_drive_service.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/google_apis/fake_drive_service.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/google_apis/fake_drive_service.cc
|
View
|
1
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/google_apis/fake_drive_service_unittest.cc
|
View
|
1
|
2 chunks |
+14 lines, -46 lines |
0 comments
|
Download
|
|
M |
chrome/browser/google_apis/gdata_wapi_service.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/google_apis/gdata_wapi_service.cc
|
View
|
|
3 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/google_apis/mock_drive_service.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync_file_system/drive_file_sync_client.h
|
View
|
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync_file_system/drive_file_sync_client.cc
|
View
|
1
|
5 chunks |
+12 lines, -59 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync_file_system/drive_file_sync_client_unittest.cc
|
View
|
1
|
8 chunks |
+20 lines, -29 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync_file_system/drive_file_sync_service_mock_unittest.cc
|
View
|
1
|
6 chunks |
+13 lines, -17 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|