Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1354)

Unified Diff: components/drive/chromeos/fake_file_system.cc

Issue 2048993002: Add an API to get total size of Drive cache including non-evictable ones. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove an unnecessary parameter. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/drive/chromeos/fake_file_system.h ('k') | components/drive/chromeos/file_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/chromeos/fake_file_system.cc
diff --git a/components/drive/chromeos/fake_file_system.cc b/components/drive/chromeos/fake_file_system.cc
index 695c15da10e855228cfa5e0bedb5bfa815a94922..f3b7cd68231dd67def43f2584013f0a366f7c108 100644
--- a/components/drive/chromeos/fake_file_system.cc
+++ b/components/drive/chromeos/fake_file_system.cc
@@ -253,8 +253,12 @@ void FakeFileSystem::FreeDiskSpaceIfNeededFor(
DCHECK_CURRENTLY_ON(BrowserThread::UI);
}
+void FakeFileSystem::CalculateCacheSize(const CacheSizeCallback& callback) {
+ DCHECK_CURRENTLY_ON(BrowserThread::UI);
+}
+
void FakeFileSystem::CalculateEvictableCacheSize(
- const EvictableCacheSizeCallback& callback) {
+ const CacheSizeCallback& callback) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
}
« no previous file with comments | « components/drive/chromeos/fake_file_system.h ('k') | components/drive/chromeos/file_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698