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

Unified Diff: ios/chrome/browser/ios_chrome_main_parts.mm

Issue 2317183002: Start the Physical Web scanner on Chrome start (Closed)
Patch Set: swap conditional Created 4 years, 3 months 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
« no previous file with comments | « ios/chrome/browser/BUILD.gn ('k') | ios/chrome/browser/physical_web/start_physical_web_discovery.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ios_chrome_main_parts.mm
diff --git a/ios/chrome/browser/ios_chrome_main_parts.mm b/ios/chrome/browser/ios_chrome_main_parts.mm
index a3ede343d21b4ec794dc59a4e44c0c30acfe2006..3461144785e33e0418b3a4541778f0fe3545388d 100644
--- a/ios/chrome/browser/ios_chrome_main_parts.mm
+++ b/ios/chrome/browser/ios_chrome_main_parts.mm
@@ -39,6 +39,7 @@
#include "ios/chrome/browser/ios_chrome_field_trials.h"
#include "ios/chrome/browser/metrics/field_trial_synchronizer.h"
#include "ios/chrome/browser/open_from_clipboard/create_clipboard_recent_content.h"
+#include "ios/chrome/browser/physical_web/start_physical_web_discovery.h"
#include "ios/chrome/browser/pref_names.h"
#include "ios/chrome/browser/translate/translate_service_ios.h"
#include "ios/public/provider/chrome/browser/chrome_browser_provider.h"
@@ -177,6 +178,8 @@ void IOSChromeMainParts::PreMainMessageLoopRun() {
translate::TranslateDownloadManager::RequestLanguageList(
last_used_browser_state->GetPrefs());
+
+ StartPhysicalWebDiscovery(last_used_browser_state->GetPrefs());
}
void IOSChromeMainParts::PostMainMessageLoopRun() {
« no previous file with comments | « ios/chrome/browser/BUILD.gn ('k') | ios/chrome/browser/physical_web/start_physical_web_discovery.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698