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";
1717
1818}
1919
20+ #if !defined(__APPLE__)
2021Settings::Settings () : host_(kDefaultHost ) {}
22+ #endif
2123
2224void Settings::set_host (std::string host) { host_ = firebase::Move (host); }
2325
Original file line number Diff line number Diff line change 88namespace firebase {
99namespace firestore {
1010
11+ namespace {
12+
13+ const char kDefaultHost [] = " firestore.googleapis.com" ;
14+
15+ }
16+
1117using util::Executor;
1218using util::ExecutorLibdispatch;
1319
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+
1425std::unique_ptr<Executor> Settings::CreateExecutor () const {
1526 return absl::make_unique<ExecutorLibdispatch>(dispatch_queue ());
1627}
You can’t perform that action at this time.
0 commit comments