File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ const char kDefaultHost[] = "firestore.googleapis.com";
17
17
18
18
}
19
19
20
+ #if !defined(__APPLE__)
20
21
Settings::Settings () : host_(kDefaultHost ) {}
22
+ #endif
21
23
22
24
void Settings::set_host (std::string host) { host_ = firebase::Move (host); }
23
25
Original file line number Diff line number Diff line change 8
8
namespace firebase {
9
9
namespace firestore {
10
10
11
+ namespace {
12
+
13
+ const char kDefaultHost [] = " firestore.googleapis.com" ;
14
+
15
+ }
16
+
11
17
using util::Executor;
12
18
using util::ExecutorLibdispatch;
13
19
20
+ Settings::Settings ()
21
+ : host_(kDefaultHost ),
22
+ executor_ (absl::make_unique<ExecutorLibdispatch>(dispatch_queue_create(
23
+ " com.google.firebase.firestore.callback" , DISPATCH_QUEUE_SERIAL))) {}
24
+
14
25
std::unique_ptr<Executor> Settings::CreateExecutor () const {
15
26
return absl::make_unique<ExecutorLibdispatch>(dispatch_queue ());
16
27
}
You can’t perform that action at this time.
0 commit comments