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

Side by Side Diff: components/proximity_auth/remote_device_life_cycle_impl.cc

Issue 2502343003: Moved //components/proximity_auth/cryptauth to //components/cryptauth. (Closed)
Patch Set: Fixed proto #includes. Created 4 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "components/proximity_auth/remote_device_life_cycle_impl.h" 5 #include "components/proximity_auth/remote_device_life_cycle_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/threading/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "base/time/default_tick_clock.h" 13 #include "base/time/default_tick_clock.h"
14 #include "components/cryptauth/secure_message_delegate.h"
14 #include "components/proximity_auth/ble/bluetooth_low_energy_connection.h" 15 #include "components/proximity_auth/ble/bluetooth_low_energy_connection.h"
15 #include "components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h " 16 #include "components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h "
16 #include "components/proximity_auth/bluetooth_connection.h" 17 #include "components/proximity_auth/bluetooth_connection.h"
17 #include "components/proximity_auth/bluetooth_connection_finder.h" 18 #include "components/proximity_auth/bluetooth_connection_finder.h"
18 #include "components/proximity_auth/bluetooth_throttler_impl.h" 19 #include "components/proximity_auth/bluetooth_throttler_impl.h"
19 #include "components/proximity_auth/cryptauth/secure_message_delegate.h"
20 #include "components/proximity_auth/device_to_device_authenticator.h" 20 #include "components/proximity_auth/device_to_device_authenticator.h"
21 #include "components/proximity_auth/logging/logging.h" 21 #include "components/proximity_auth/logging/logging.h"
22 #include "components/proximity_auth/messenger_impl.h" 22 #include "components/proximity_auth/messenger_impl.h"
23 #include "components/proximity_auth/proximity_auth_client.h" 23 #include "components/proximity_auth/proximity_auth_client.h"
24 #include "components/proximity_auth/secure_context.h" 24 #include "components/proximity_auth/secure_context.h"
25 25
26 namespace proximity_auth { 26 namespace proximity_auth {
27 27
28 namespace { 28 namespace {
29 29
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 TransitionToState(RemoteDeviceLifeCycle::State::SECURE_CHANNEL_ESTABLISHED); 166 TransitionToState(RemoteDeviceLifeCycle::State::SECURE_CHANNEL_ESTABLISHED);
167 } 167 }
168 168
169 void RemoteDeviceLifeCycleImpl::OnDisconnected() { 169 void RemoteDeviceLifeCycleImpl::OnDisconnected() {
170 DCHECK(state_ == RemoteDeviceLifeCycle::State::SECURE_CHANNEL_ESTABLISHED); 170 DCHECK(state_ == RemoteDeviceLifeCycle::State::SECURE_CHANNEL_ESTABLISHED);
171 messenger_.reset(); 171 messenger_.reset();
172 FindConnection(); 172 FindConnection();
173 } 173 }
174 174
175 } // namespace proximity_auth 175 } // namespace proximity_auth
OLDNEW
« no previous file with comments | « components/proximity_auth/proximity_auth_client.h ('k') | components/proximity_auth/remote_device_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698