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

Side by Side Diff: ios/chrome/browser/physical_web/start_physical_web_discovery.h

Issue 2573923002: Modify Physical Web auto-optin behavior on Chrome for iOS (Closed)
Patch Set: remove utf_string_conversions include 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 { 10 namespace ios {
11 class ChromeBrowserState; 11 class ChromeBrowserState;
12 } 12 }
13 13
14 // Checks the environment and starts Physical Web discovery if the required 14 // Checks the environment and starts Physical Web discovery if the required
15 // 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.
19 void StartPhysicalWebDiscovery(PrefService* pref_service, bool is_incognito);
20
21 // Checks the environment and starts Physical Web discovery if the required
22 // conditions are met.
23 void StartPhysicalWebDiscovery(PrefService* pref_service, 16 void StartPhysicalWebDiscovery(PrefService* pref_service,
24 ios::ChromeBrowserState* browser_state); 17 ios::ChromeBrowserState* browser_state);
25 18
26 #endif // IOS_CHROME_BROWSER_PHYSICAL_WEB_START_PHYSICAL_WEB_DISCOVERY_H_ 19 #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