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

Unified Diff: components/proximity_auth/remote_device_life_cycle_impl.cc

Issue 1352063002: Change chrome://proximity-auth to use RemoteDeviceLifeCycle. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor_mocks
Patch Set: fix win compile 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: components/proximity_auth/remote_device_life_cycle_impl.cc
diff --git a/components/proximity_auth/remote_device_life_cycle_impl.cc b/components/proximity_auth/remote_device_life_cycle_impl.cc
index 5a9709a285c594489ff54a05cb8c19056643dc24..5e57d287e34f813fae891404865d127950089963 100644
--- a/components/proximity_auth/remote_device_life_cycle_impl.cc
+++ b/components/proximity_auth/remote_device_life_cycle_impl.cc
@@ -95,6 +95,8 @@ scoped_ptr<Authenticator> RemoteDeviceLifeCycleImpl::CreateAuthenticator() {
void RemoteDeviceLifeCycleImpl::TransitionToState(
RemoteDeviceLifeCycle::State new_state) {
+ PA_LOG(INFO) << "Life cycle transition: " << static_cast<int>(state_)
+ << " => " << static_cast<int>(new_state);
RemoteDeviceLifeCycle::State old_state = state_;
state_ = new_state;
FOR_EACH_OBSERVER(Observer, observers_,

Powered by Google App Engine
This is Rietveld 408576698