diff options
author | Greg Soltis <gsoltis@google.com> | 2018-03-29 08:55:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-29 08:55:10 -0700 |
commit | d9b2d312d94387f337c95cb442b828a312bbf18c (patch) | |
tree | 68a0ca0d3ce1380e9d68496907ca6fca8c40d575 /Firestore/Source/Local/FSTRemoteDocumentCache.h | |
parent | cb1f65dfcf78a6cfc11915c2c5695fa023cf3e09 (diff) |
Remove some usages of FSTWriteGroup (#983)
* FSTMutationQueue no longer needs groups
* Remove write group from mutation queue entirely
* Remove write group from query cache
* Mark groups unused in remote document cache
* Drop write group entirely from remote document cache
* style
* Drop commented-out code
* Drop commented-out code
Diffstat (limited to 'Firestore/Source/Local/FSTRemoteDocumentCache.h')
-rw-r--r-- | Firestore/Source/Local/FSTRemoteDocumentCache.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Firestore/Source/Local/FSTRemoteDocumentCache.h b/Firestore/Source/Local/FSTRemoteDocumentCache.h index e2ad988..3605111 100644 --- a/Firestore/Source/Local/FSTRemoteDocumentCache.h +++ b/Firestore/Source/Local/FSTRemoteDocumentCache.h @@ -22,7 +22,6 @@ @class FSTMaybeDocument; @class FSTQuery; -@class FSTWriteGroup; NS_ASSUME_NONNULL_BEGIN @@ -46,11 +45,10 @@ NS_ASSUME_NONNULL_BEGIN * * @param maybeDocument A FSTDocument or FSTDeletedDocument to put in the cache. */ -- (void)addEntry:(FSTMaybeDocument *)maybeDocument group:(FSTWriteGroup *)group; +- (void)addEntry:(FSTMaybeDocument *)maybeDocument; /** Removes the cached entry for the given key (no-op if no entry exists). */ -- (void)removeEntryForKey:(const firebase::firestore::model::DocumentKey &)documentKey - group:(FSTWriteGroup *)group; +- (void)removeEntryForKey:(const firebase::firestore::model::DocumentKey &)documentKey; /** * Looks up an entry in the cache. |