|
drive: Create cache directories in DriveIntegrationService
'meta' directory is hosting both DBs for FileCache and ResourceMetadata.
Since these DBs are going to be merged into one, this directory should be created outside FileCache to initialize
the shared unified DB.
Create directories in DriveIntegrationService.
Remove directory related code from FileCache.
Move directory name constants to file_system_util.h
Pass temporary directory path as an argument, instead of using GetCacheDirectory() from DownloadOperation.
BUG= 234487
TEST=unit_tests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207160
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+261 lines, -248 lines) |
Patch |
 |
M |
chrome/browser/chromeos/drive/change_list_loader_unittest.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/drive_integration_service.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/drive_integration_service.cc
|
View
|
1
2
|
6 chunks |
+40 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_cache.h
|
View
|
1
2
|
5 chunks |
+7 lines, -41 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_cache.cc
|
View
|
1
2
|
15 chunks |
+25 lines, -116 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_cache_unittest.cc
|
View
|
1
2
|
8 chunks |
+27 lines, -41 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system.h
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system.cc
|
View
|
1
|
5 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system/copy_operation.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system/copy_operation.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system/download_operation.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system/download_operation.cc
|
View
|
|
10 chunks |
+15 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system/operation_test_base.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system_unittest.cc
|
View
|
1
|
3 chunks |
+25 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system_util.h
|
View
|
1
2
|
2 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system_util.cc
|
View
|
1
2
|
3 chunks |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system_util_unittest.cc
|
View
|
1
2
|
2 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/search_metadata_unittest.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/sync_client.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/sync_client.cc
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/sync_client_unittest.cc
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|