Home
last modified time | relevance | path

Searched refs:BackendCleanupTracker (Results 1 – 13 of 13) sorted by relevance

/external/cronet/net/disk_cache/
Dbackend_cleanup_tracker.h28 class NET_EXPORT_PRIVATE BackendCleanupTracker
29 : public base::RefCounted<BackendCleanupTracker> {
34 static scoped_refptr<BackendCleanupTracker> TryCreate(
38 BackendCleanupTracker(const BackendCleanupTracker&) = delete;
39 BackendCleanupTracker& operator=(const BackendCleanupTracker&) = delete;
48 friend class base::RefCounted<BackendCleanupTracker>;
49 explicit BackendCleanupTracker(const base::FilePath& path);
50 ~BackendCleanupTracker();
Dbackend_cleanup_tracker.cc24 using TrackerMap = std::unordered_map<base::FilePath, BackendCleanupTracker*>;
41 scoped_refptr<BackendCleanupTracker> BackendCleanupTracker::TryCreate( in TryCreate()
49 std::pair<base::FilePath, BackendCleanupTracker*>(path, nullptr)); in TryCreate()
51 auto tracker = base::WrapRefCounted(new BackendCleanupTracker(path)); in TryCreate()
61 void BackendCleanupTracker::AddPostCleanupCallback(base::OnceClosure cb) { in AddPostCleanupCallback()
69 void BackendCleanupTracker::AddPostCleanupCallbackImpl(base::OnceClosure cb) { in AddPostCleanupCallbackImpl()
74 BackendCleanupTracker::BackendCleanupTracker(const base::FilePath& path) in BackendCleanupTracker() function in disk_cache::BackendCleanupTracker
77 BackendCleanupTracker::~BackendCleanupTracker() { in ~BackendCleanupTracker()
Dbackend_cleanup_tracker_unittest.cc48 scoped_refptr<BackendCleanupTracker> t1 = in TEST_F()
49 BackendCleanupTracker::TryCreate(path1_, RecordCallClosure(1)); in TEST_F()
50 scoped_refptr<BackendCleanupTracker> t2 = in TEST_F()
51 BackendCleanupTracker::TryCreate(path2_, RecordCallClosure(2)); in TEST_F()
84 scoped_refptr<BackendCleanupTracker> t1 = in TEST_F()
85 BackendCleanupTracker::TryCreate(path1_, RecordCallClosure(1)); in TEST_F()
86 scoped_refptr<BackendCleanupTracker> t2 = in TEST_F()
87 BackendCleanupTracker::TryCreate(path1_, RecordCallClosure(2)); in TEST_F()
99 scoped_refptr<BackendCleanupTracker> alias = t1; in TEST_F()
Ddisk_cache.cc90 scoped_refptr<disk_cache::BackendCleanupTracker> cleanup_tracker_;
188 cleanup_tracker_ = disk_cache::BackendCleanupTracker::TryCreate( in TryCreateCleanupTrackerAndRun()
/external/cronet/net/disk_cache/simple/
Dsimple_index.h43 class BackendCleanupTracker; variable
135 scoped_refptr<BackendCleanupTracker> cleanup_tracker,
267 scoped_refptr<BackendCleanupTracker> cleanup_tracker_;
Dsimple_backend_impl.h53 class BackendCleanupTracker; variable
70 scoped_refptr<BackendCleanupTracker> cleanup_tracker,
262 scoped_refptr<BackendCleanupTracker> cleanup_tracker_;
Dsimple_entry_impl.h43 class BackendCleanupTracker; variable
73 scoped_refptr<BackendCleanupTracker> cleanup_tracker,
360 scoped_refptr<BackendCleanupTracker> cleanup_tracker_;
Dsimple_index_file_unittest.cc584 scoped_refptr<disk_cache::BackendCleanupTracker> cleanup_tracker = in TEST_F()
585 disk_cache::BackendCleanupTracker::TryCreate(cache_path, in TEST_F()
Dsimple_index.cc178 scoped_refptr<BackendCleanupTracker> cleanup_tracker, in SimpleIndex()
Dsimple_backend_impl.cc209 scoped_refptr<BackendCleanupTracker> cleanup_tracker, in SimpleBackendImpl()
Dsimple_entry_impl.cc128 scoped_refptr<BackendCleanupTracker> cleanup_tracker, in SimpleEntryImpl()
/external/cronet/net/disk_cache/blockfile/
Dbackend_impl.h37 class BackendCleanupTracker; variable
58 scoped_refptr<BackendCleanupTracker> cleanup_tracker,
398 scoped_refptr<BackendCleanupTracker> cleanup_tracker_;
Dbackend_impl.cc152 scoped_refptr<BackendCleanupTracker> cleanup_tracker, in BackendImpl()