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

Unified Diff: chrome/browser/signin/easy_unlock_auth_attempt.cc

Issue 1372283002: Hook up ProximityAuthSystem in EasyUnlockService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth_connection
Patch Set: Created 5 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
Index: chrome/browser/signin/easy_unlock_auth_attempt.cc
diff --git a/chrome/browser/signin/easy_unlock_auth_attempt.cc b/chrome/browser/signin/easy_unlock_auth_attempt.cc
index 9b82890ce93d815b901065c7efcdf6ee19b42990..7f7df0e4899641fdfc252366442b17e00e73277f 100644
--- a/chrome/browser/signin/easy_unlock_auth_attempt.cc
+++ b/chrome/browser/signin/easy_unlock_auth_attempt.cc
@@ -118,19 +118,6 @@ bool EasyUnlockAuthAttempt::Start() {
state_ = STATE_RUNNING;
- // We need this workaround for ProximityAuthBleSystem, which is already
- // notified in EasyUnlockService. No notification is sent when only the
- // |kEnableBluetoothLowEnergyDiscovery| flag is set, and
- // |app_manager_->SendAuthAttemptEvent()| returns false. As a result, the auth
- // attempt will always fail.
- // TODO(sacomoto): Remove this when it's not needed anymore.
- if (!app_manager_->SendAuthAttemptEvent() &&
- !base::CommandLine::ForCurrentProcess()->HasSwitch(
- proximity_auth::switches::kEnableBluetoothLowEnergyDiscovery)) {
- Cancel(user_id_);
- return false;
- }
-
return true;
}

Powered by Google App Engine
This is Rietveld 408576698