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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_DRIVE_CHROMEOS_DUMMY_FILE_SYSTEM_H_ 5 #ifndef COMPONENTS_DRIVE_CHROMEOS_DUMMY_FILE_SYSTEM_H_
6 #define COMPONENTS_DRIVE_CHROMEOS_DUMMY_FILE_SYSTEM_H_ 6 #define COMPONENTS_DRIVE_CHROMEOS_DUMMY_FILE_SYSTEM_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "components/drive/chromeos/file_system_interface.h" 10 #include "components/drive/chromeos/file_system_interface.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 google_apis::drive::Property::Visibility visibility, 97 google_apis::drive::Property::Visibility visibility,
98 const std::string& key, 98 const std::string& key,
99 const std::string& value, 99 const std::string& value,
100 const FileOperationCallback& callback) override {} 100 const FileOperationCallback& callback) override {}
101 void Reset(const FileOperationCallback& callback) override {} 101 void Reset(const FileOperationCallback& callback) override {}
102 void GetPathFromResourceId(const std::string& resource_id, 102 void GetPathFromResourceId(const std::string& resource_id,
103 const GetFilePathCallback& callback) override {} 103 const GetFilePathCallback& callback) override {}
104 void FreeDiskSpaceIfNeededFor( 104 void FreeDiskSpaceIfNeededFor(
105 int64_t num_bytes, 105 int64_t num_bytes,
106 const FreeDiskSpaceCallback& callback) override {} 106 const FreeDiskSpaceCallback& callback) override {}
107 void CalculateCacheSize(const CacheSizeCallback& callback) override {}
107 void CalculateEvictableCacheSize( 108 void CalculateEvictableCacheSize(
108 const EvictableCacheSizeCallback& callback) override {} 109 const CacheSizeCallback& callback) override {}
109 }; 110 };
110 111
111 } // namespace drive 112 } // namespace drive
112 113
113 #endif // COMPONENTS_DRIVE_CHROMEOS_DUMMY_FILE_SYSTEM_H_ 114 #endif // COMPONENTS_DRIVE_CHROMEOS_DUMMY_FILE_SYSTEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698