|
drive: Return cancel closure from FileSystem::GetFileContent
This change does not fix the bug, just a preparation for the actual fix.
No behavior change is intended.
Return cancel closure from DownloadOperation and FileSystem.
Change user code (SyncClient and DriveFileStreamReader) to use the returned closure.
BUG= 344789
TEST=unit_tests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260184
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+126 lines, -131 lines) |
Patch |
 |
M |
chrome/browser/chromeos/drive/drive_file_stream_reader.h
|
View
|
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/drive_file_stream_reader.cc
|
View
|
1
|
9 chunks |
+26 lines, -23 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/dummy_file_system.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/chromeos/drive/dummy_file_system.cc
|
View
|
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/fake_file_system.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/fake_file_system.cc
|
View
|
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/fake_file_system_unittest.cc
|
View
|
|
4 chunks |
+6 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system/download_operation.h
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system/download_operation.cc
|
View
|
|
7 chunks |
+25 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc
|
View
|
|
3 chunks |
+10 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system_interface.h
|
View
|
|
3 chunks |
+6 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/sync_client.h
|
View
|
|
2 chunks |
+1 line, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/sync_client.cc
|
View
|
|
5 chunks |
+16 lines, -27 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
google_apis/drive/task_util.h
|
View
|
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|