aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/Local/FSTRemoteDocumentChangeBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/Source/Local/FSTRemoteDocumentChangeBuffer.h')
-rw-r--r--Firestore/Source/Local/FSTRemoteDocumentChangeBuffer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Firestore/Source/Local/FSTRemoteDocumentChangeBuffer.h b/Firestore/Source/Local/FSTRemoteDocumentChangeBuffer.h
index be0d609..cfdf55b 100644
--- a/Firestore/Source/Local/FSTRemoteDocumentChangeBuffer.h
+++ b/Firestore/Source/Local/FSTRemoteDocumentChangeBuffer.h
@@ -16,11 +16,12 @@
#import <Foundation/Foundation.h>
+#include "Firestore/core/src/firebase/firestore/model/document_key.h"
+
NS_ASSUME_NONNULL_BEGIN
@protocol FSTRemoteDocumentCache;
@class FSTMaybeDocument;
-@class FSTDocumentKey;
@class FSTWriteGroup;
/**
@@ -53,7 +54,8 @@ NS_ASSUME_NONNULL_BEGIN
* @param documentKey The key of the entry to look up.
* @return The cached FSTDocument or FSTDeletedDocument entry, or nil if we have nothing cached.
*/
-- (nullable FSTMaybeDocument *)entryForKey:(FSTDocumentKey *)documentKey;
+- (nullable FSTMaybeDocument *)entryForKey:
+ (const firebase::firestore::model::DocumentKey &)documentKey;
/**
* Applies buffered changes to the underlying FSTRemoteDocumentCache, using the provided