diff options
author | zxu <zxu@google.com> | 2018-03-23 17:52:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-23 17:52:01 -0400 |
commit | 0ccfd6a3dc77fb733626bc8911b5925ad9475c2e (patch) | |
tree | e3d443c4cd7410e09250999dbe0bda07df84d698 /Firestore/Source/Local/FSTMutationQueue.h | |
parent | 6a61d83854fa7f0cc5898ee50c65169583a5b69c (diff) |
port C++ `DocumentKey` to `Local/*` (#963)
* port C++ DocumentKey to Local's
* address changes
Diffstat (limited to 'Firestore/Source/Local/FSTMutationQueue.h')
-rw-r--r-- | Firestore/Source/Local/FSTMutationQueue.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Firestore/Source/Local/FSTMutationQueue.h b/Firestore/Source/Local/FSTMutationQueue.h index 12f3284..c2e2548 100644 --- a/Firestore/Source/Local/FSTMutationQueue.h +++ b/Firestore/Source/Local/FSTMutationQueue.h @@ -19,7 +19,8 @@ #import "Firestore/Source/Core/FSTTypes.h" #import "Firestore/Source/Local/FSTGarbageCollector.h" -@class FSTDocumentKey; +#include "Firestore/core/src/firebase/firestore/model/document_key.h" + @class FSTMutation; @class FSTMutationBatch; @class FSTQuery; @@ -123,7 +124,7 @@ NS_ASSUME_NONNULL_BEGIN // TODO(mcg): This should really return an NSEnumerator // also for b/32992024, all backing stores should really index by document key - (NSArray<FSTMutationBatch *> *)allMutationBatchesAffectingDocumentKey: - (FSTDocumentKey *)documentKey; + (const firebase::firestore::model::DocumentKey &)documentKey; /** * Finds all mutation batches that could affect the results for the given query. Not all |