| Index: ios/chrome/browser/physical_web/start_physical_web_discovery.h
|
| diff --git a/ios/chrome/browser/physical_web/start_physical_web_discovery.h b/ios/chrome/browser/physical_web/start_physical_web_discovery.h
|
| index d6468b33852e07c45b4d823b7a9486af37ff4a73..43901d15b82902bd84afa527680dc7145cf0b064 100644
|
| --- a/ios/chrome/browser/physical_web/start_physical_web_discovery.h
|
| +++ b/ios/chrome/browser/physical_web/start_physical_web_discovery.h
|
| @@ -7,8 +7,20 @@
|
|
|
| #include "components/prefs/pref_service.h"
|
|
|
| +namespace ios {
|
| +class ChromeBrowserState;
|
| +}
|
| +
|
| // Checks the environment and starts Physical Web discovery if the required
|
| // conditions are met.
|
| +// Deprecated, use the version below that takes an ios::ChromeBrowserState.
|
| +// TODO(mattreynolds): remove once downstream users have been switched to the
|
| +// new method.
|
| void StartPhysicalWebDiscovery(PrefService* pref_service, bool is_incognito);
|
|
|
| +// Checks the environment and starts Physical Web discovery if the required
|
| +// conditions are met.
|
| +void StartPhysicalWebDiscovery(PrefService* pref_service,
|
| + ios::ChromeBrowserState* browser_state);
|
| +
|
| #endif // IOS_CHROME_BROWSER_PHYSICAL_WEB_START_PHYSICAL_WEB_DISCOVERY_H_
|
|
|