Commit Graph
16 Commits
Author SHA1 Message Date
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
hai007 b1815095dd BEGIN_PUBLIC
Microsoft has updated the winrt library
END_PUBLC

PiperOrigin-RevId: 387168248
2021-07-29 03:27:37 -07:00
Edwin Wu af4701c237 Internal change
PiperOrigin-RevId: 377900845
2021-06-07 06:31:26 -07:00
hai007 7f64533ec8 Internal change
PiperOrigin-RevId: 372030567
2021-05-04 17:39:33 -07:00
hai007 ecc5543f73 Internal change
PiperOrigin-RevId: 369753540
2021-04-21 15:58:02 -07:00
hai007 e0293911c7 Internal change
PiperOrigin-RevId: 369651348
2021-04-21 07:32:42 -07:00
hai007 aa26e3d88d Internal change
PiperOrigin-RevId: 364931903
2021-03-24 17:58:58 -07:00
hai007 64ff9c1366 Merge branch 'google3' up to cl/356658736. 2021-02-12 12:21:39 -08:00
hai007 2d4edf5b18 cl/356658736 Add Stop() to ServiceController API. 2021-02-12 12:18:55 -08:00
hai007 a05a818966 Merge branch 'google3' to roll forward up to cl/355791747. 2021-02-08 03:58:04 -08:00
hai007 84efda0868 Roll forward up to cl/355791747. 2021-02-08 03:57:34 -08:00
Alexey Polyudov ce4807935e Roll forward to cl/338482889
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
Change-Id: Ic2bdb234e89f3c5860d1b483dd4bce689f13d057
2020-10-22 11:30:33 -07:00
Alexey Polyudov 2155b3ddeb Roll forward to cl/338482889
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
Change-Id: I9850950db8bd84f0904ea1a413151887f52098cf
2020-10-22 10:47:34 -07:00
Alexey Polyudov de31c27947 Initial public release of nearby library
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
Change-Id: I85d490e448375aa4eb7b09680757c02fff1420b4
2020-05-04 13:16:51 -07:00
Alexey Polyudov d455926d89 nearby: snapshot of cl/304428753
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
Change-Id: I0023ac6e40456fc4a8169c3173bcbff3b5ccc476
2020-04-04 12:54:05 -07:00
Alexey Polyudov 204f76077d nearby: snapshot as of cl/296436629
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
Change-Id: I2cf5bf225b76f4c1541954651f3a7544a14e0cec
2020-04-04 12:52:31 -07:00