class PrivacySettings

Defined at line 23 of file ../../src/developer/forensics/testing/fakes/privacy_settings.h

Fake server for fuchsia.settings.Privacy.

The hanging get pattern behind Watch() requires us to maintain a separate handler per connection

to be able to track each connection. Here, we only make a single connection in the unit tests

anyway so it's fine if the fake service can have at most one connection.

Public Methods

void SetUserDataSharingConsent (std::optional<bool> user_data_sharing_consent)

Defined at line 23 of file ../../src/developer/forensics/testing/fakes/privacy_settings.cc

void Watch (WatchCompleter::Sync & completer)

|fuchsia_settings::Privacy|

Defined at line 15 of file ../../src/developer/forensics/testing/fakes/privacy_settings.cc