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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_PHYSICAL_WEB_START_PHYSICAL_WEB_DISCOVERY_H_ 5 #ifndef IOS_CHROME_BROWSER_PHYSICAL_WEB_START_PHYSICAL_WEB_DISCOVERY_H_
6 #define IOS_CHROME_BROWSER_PHYSICAL_WEB_START_PHYSICAL_WEB_DISCOVERY_H_ 6 #define IOS_CHROME_BROWSER_PHYSICAL_WEB_START_PHYSICAL_WEB_DISCOVERY_H_
7 7
8 #include "components/prefs/pref_service.h" 8 #include "components/prefs/pref_service.h"
9 9
10 namespace ios {
11 class ChromeBrowserState;
12 }
13
10 // Checks the environment and starts Physical Web discovery if the required 14 // Checks the environment and starts Physical Web discovery if the required
11 // conditions are met. 15 // conditions are met.
16 // Deprecated, use the version below that takes an ios::ChromeBrowserState.
17 // TODO(mattreynolds): remove once downstream users have been switched to the
18 // new method.
12 void StartPhysicalWebDiscovery(PrefService* pref_service, bool is_incognito); 19 void StartPhysicalWebDiscovery(PrefService* pref_service, bool is_incognito);
13 20
21 // Checks the environment and starts Physical Web discovery if the required
22 // conditions are met.
23 void StartPhysicalWebDiscovery(PrefService* pref_service,
24 ios::ChromeBrowserState* browser_state);
25
14 #endif // IOS_CHROME_BROWSER_PHYSICAL_WEB_START_PHYSICAL_WEB_DISCOVERY_H_ 26 #endif // IOS_CHROME_BROWSER_PHYSICAL_WEB_START_PHYSICAL_WEB_DISCOVERY_H_
OLDNEW
« 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