Index: components/proximity_auth/remote_device_life_cycle_impl.h |
diff --git a/components/proximity_auth/remote_device_life_cycle_impl.h b/components/proximity_auth/remote_device_life_cycle_impl.h |
index de062f133afec0f96ee190b885ab0c8f103c9aef..aeb2ff32c6fcc83450df42ca97e24697713675a3 100644 |
--- a/components/proximity_auth/remote_device_life_cycle_impl.h |
+++ b/components/proximity_auth/remote_device_life_cycle_impl.h |
@@ -83,28 +83,28 @@ class RemoteDeviceLifeCycleImpl : public RemoteDeviceLifeCycle, |
// Observers added to the life cycle. |
base::ObserverList<Observer> observers_; |
sacomoto
2015/09/29 20:58:33
Please add a comment saying the observers are |NOT
Tim Song
2015/09/30 00:05:04
Done.
|
- // Rate limits Bluetooth connections to the same device. Used to in the |
- // created ConnectionFinder. |
- scoped_ptr<BluetoothThrottler> bluetooth_throttler_; |
- |
- // Used in the FINDING_CONNECTION state to establish a connection to the |
- // remote device. |
- scoped_ptr<ConnectionFinder> connection_finder_; |
+ // The messenger for sending and receiving messages in the |
+ // SECURE_CHANNEL_ESTABLISHED state. |
+ scoped_ptr<Messenger> messenger_; |
- // The connection that is established by |connection_finder_|. |
- scoped_ptr<Connection> connection_; |
+ // Context for encrypting and decrypting messages. Created after |
+ // authentication succeeds. Ownership is eventually passed to |messenger_|. |
+ scoped_ptr<SecureContext> secure_context_; |
// Authenticates the remote device after it is connected. Used in the |
// AUTHENTICATING state. |
scoped_ptr<Authenticator> authenticator_; |
- // Context for encrypting and decrypting messages. Created after |
- // authentication succeeds. Ownership is eventually passed to |messenger_|. |
- scoped_ptr<SecureContext> secure_context_; |
+ // The connection that is established by |connection_finder_|. |
+ scoped_ptr<Connection> connection_; |
- // The messenger for sending and receiving messages in the |
- // SECURE_CHANNEL_ESTABLISHED state. |
- scoped_ptr<Messenger> messenger_; |
+ // Used in the FINDING_CONNECTION state to establish a connection to the |
+ // remote device. |
+ scoped_ptr<ConnectionFinder> connection_finder_; |
+ |
+ // Rate limits Bluetooth connections to the same device. Used to in the |
+ // created ConnectionFinder. |
+ scoped_ptr<BluetoothThrottler> bluetooth_throttler_; |
// After authentication fails, this timer waits for a period of time before |
// retrying the connection. |