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

Unified Diff: components/drive/chromeos/dummy_file_system.h

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
Index: components/drive/chromeos/dummy_file_system.h
diff --git a/components/drive/chromeos/dummy_file_system.h b/components/drive/chromeos/dummy_file_system.h
index f78dfca2d3cc7db484dad1fd634cf48a16ee4f11..36ab648773199209d77bae27c0b99f5718e352bf 100644
--- a/components/drive/chromeos/dummy_file_system.h
+++ b/components/drive/chromeos/dummy_file_system.h
@@ -104,8 +104,9 @@ class DummyFileSystem : public FileSystemInterface {
void FreeDiskSpaceIfNeededFor(
int64_t num_bytes,
const FreeDiskSpaceCallback& callback) override {}
+ void CalculateCacheSize(const CacheSizeCallback& callback) override {}
void CalculateEvictableCacheSize(
- const EvictableCacheSizeCallback& callback) override {}
+ const CacheSizeCallback& callback) override {}
};
} // namespace drive

Powered by Google App Engine
This is Rietveld 408576698