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

Side by Side Diff: components/proximity_auth/remote_device_life_cycle.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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 #ifndef COMPONENTS_PROXIMITY_AUTH_REMOTE_DEVICE_LIFE_CYCLE_H 5 #ifndef COMPONENTS_PROXIMITY_AUTH_REMOTE_DEVICE_LIFE_CYCLE_H
6 #define COMPONENTS_PROXIMITY_AUTH_REMOTE_DEVICE_LIFE_CYCLE_H 6 #define COMPONENTS_PROXIMITY_AUTH_REMOTE_DEVICE_LIFE_CYCLE_H
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/proximity_auth/remote_device.h" 9 #include "components/proximity_auth/remote_device.h"
10 10
11 namespace proximity_auth { 11 namespace proximity_auth {
12 12
13 class Authenticator;
14 class Messenger; 13 class Messenger;
15 class ConnectionFinder;
16 14
17 // Controls the life cycle of connecting and authenticating to a remote device. 15 // Controls the life cycle of connecting and authenticating to a remote device.
18 // After the life cycle is started, it can be in the following states: 16 // After the life cycle is started, it can be in the following states:
19 // FINDING_CONNECTION: 17 // FINDING_CONNECTION:
20 // Continuiously attempts to create a connection to the remote device. 18 // Continuiously attempts to create a connection to the remote device.
21 // After connecting, transitions to the AUTHENTICATING state. 19 // After connecting, transitions to the AUTHENTICATING state.
22 // AUTHENTICATING: 20 // AUTHENTICATING:
23 // Verifies that the connected device has the correct credentials. On 21 // Verifies that the connected device has the correct credentials. On
24 // success, transitions to SECURE_CHANNEL_ESTABLISHED; otherwise, 22 // success, transitions to SECURE_CHANNEL_ESTABLISHED; otherwise,
25 // transitions to AUTHENTICATION_FAILED. 23 // transitions to AUTHENTICATION_FAILED.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Adds an observer. 68 // Adds an observer.
71 virtual void AddObserver(Observer* observer) = 0; 69 virtual void AddObserver(Observer* observer) = 0;
72 70
73 // Removes an observer. 71 // Removes an observer.
74 virtual void RemoveObserver(Observer* observer) = 0; 72 virtual void RemoveObserver(Observer* observer) = 0;
75 }; 73 };
76 74
77 } // namespace proximity_auth 75 } // namespace proximity_auth
78 76
79 #endif // COMPONENTS_PROXIMITY_AUTH_REMOTE_DEVICE_LIFE_CYCLE_H 77 #endif // COMPONENTS_PROXIMITY_AUTH_REMOTE_DEVICE_LIFE_CYCLE_H
OLDNEW
« no previous file with comments | « components/proximity_auth/bluetooth_connection_finder.h ('k') | components/proximity_auth/remote_device_life_cycle_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698