aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/API/FIRFirestore+Internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/Source/API/FIRFirestore+Internal.h')
-rw-r--r--Firestore/Source/API/FIRFirestore+Internal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Firestore/Source/API/FIRFirestore+Internal.h b/Firestore/Source/API/FIRFirestore+Internal.h
index 717a08b..7bc419a 100644
--- a/Firestore/Source/API/FIRFirestore+Internal.h
+++ b/Firestore/Source/API/FIRFirestore+Internal.h
@@ -17,6 +17,7 @@
#import "FIRFirestore.h"
#include "Firestore/core/src/firebase/firestore/model/database_id.h"
+#include "absl/strings/string_view.h"
NS_ASSUME_NONNULL_BEGIN
@@ -31,8 +32,8 @@ NS_ASSUME_NONNULL_BEGIN
* Initializes a Firestore object with all the required parameters directly. This exists so that
* tests can create FIRFirestore objects without needing FIRApp.
*/
-- (instancetype)initWithProjectID:(NSString *)projectID
- database:(NSString *)database
+- (instancetype)initWithProjectID:(const absl::string_view)projectID
+ database:(const absl::string_view)database
persistenceKey:(NSString *)persistenceKey
credentialsProvider:(id<FSTCredentialsProvider>)credentialsProvider
workerDispatchQueue:(FSTDispatchQueue *)workerDispatchQueue