nohle
f483110a8d
[NearbyConnections][C++] Have Cores share single ServiceControllerRouter
...
We refactor the `Core`/`ServiceControllerRouter`/`ServiceController` classes to better align with the GmsCore implementation. Notably,
1. `Core` instances share the same `ServiceControllerRouter`.
2. `ServiceControllerRouter` directly owns one `OfflineServiceController`--that is created lazily and destroyed when when the router is destroyed--instead of using a factory method to create `ServiceController`s.
3. Removes obsolete "strategy" logic from `ServiceControllerRouter`, which used to recreate service controllers if the "strategy" changed.
4. Removes `ServiceControllerRouter::ClientDisconnecting()`, which is identical to `StopAllEndpoints()`.
5. Makes various C++ style clean-ups like removing unnecessary static variables/functions.
See analogous Chrome OS changes at http://crrev.com/c/3025604 .
PiperOrigin-RevId: 389188124
2021-08-06 09:07:31 -07:00
..
2021-08-03 17:10:57 -07:00
2021-08-04 16:11:49 -07:00
2021-07-29 03:27:37 -07:00
2021-08-03 17:10:57 -07:00
2021-08-03 17:10:57 -07:00
2021-07-29 03:27:37 -07:00
2021-08-03 17:10:57 -07:00
2021-08-03 13:02:49 -07:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2021-06-14 23:17:29 -07:00
2021-04-27 04:56:25 -07:00
2021-07-29 03:27:37 -07:00
2021-04-27 04:56:25 -07:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2021-06-14 23:17:29 -07:00
2021-04-27 04:56:25 -07:00
2021-08-06 09:07:31 -07:00
2021-04-27 04:56:25 -07:00
2021-07-29 03:27:37 -07:00
2021-08-03 17:10:57 -07:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2021-08-03 17:10:57 -07:00
2021-06-07 06:31:26 -07:00
2021-08-03 17:10:57 -07:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2020-10-22 11:30:33 -07:00
2021-08-03 17:10:57 -07:00
2021-07-29 03:27:37 -07:00
2021-08-03 17:10:57 -07:00
2021-08-03 17:10:57 -07:00
2021-08-03 17:10:57 -07:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2021-08-03 17:10:57 -07:00
2021-07-29 03:27:37 -07:00
2021-04-27 04:56:25 -07:00
2021-07-29 03:27:37 -07:00
2021-07-16 06:52:45 -07:00
2020-10-22 11:25:32 -07:00
2021-08-06 09:07:31 -07:00
2021-07-29 03:27:37 -07:00
2021-08-03 17:10:57 -07:00
2021-08-03 17:10:57 -07:00
2021-08-03 17:10:57 -07:00
2021-08-03 17:10:57 -07:00
2021-07-29 03:27:37 -07:00
2021-08-03 17:10:57 -07:00
2021-07-29 03:27:37 -07:00
2021-06-07 06:31:26 -07:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2021-08-03 17:10:57 -07:00
2021-04-27 04:56:25 -07:00
2020-11-13 15:20:05 -08:00
2020-11-13 15:20:05 -08:00
2021-07-29 03:27:37 -07:00
2020-11-13 15:20:05 -08:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2021-04-27 04:56:25 -07:00
2021-07-29 03:27:37 -07:00
2021-06-14 23:20:15 -07:00
2021-07-29 03:27:37 -07:00
2020-10-22 11:30:33 -07:00
2021-08-06 09:07:31 -07:00
2021-08-06 09:07:31 -07:00
2021-08-06 09:07:31 -07:00
2021-02-12 12:21:39 -08:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2020-10-22 11:30:33 -07:00
2021-07-29 03:27:37 -07:00
2021-04-27 04:56:25 -07:00
2021-07-29 03:27:37 -07:00
2020-10-23 12:51:53 -07:00
2021-06-14 23:17:29 -07:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00
2021-07-29 03:27:37 -07:00