Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: ios/chrome/browser/physical_web/start_physical_web_discovery.h

Issue 2566753002: Modify StartPhysicalWebDiscovery to take an ios::ChromeBrowserState param (Closed)
Patch Set: fix deps Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « ios/chrome/browser/physical_web/BUILD.gn ('k') | ios/chrome/browser/physical_web/start_physical_web_discovery.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698