OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROMEOS_DBUS_EASY_UNLOCK_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_EASY_UNLOCK_CLIENT_H_ |
6 #define CHROMEOS_DBUS_EASY_UNLOCK_CLIENT_H_ | 6 #define CHROMEOS_DBUS_EASY_UNLOCK_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
12 #include "chromeos/chromeos_export.h" | 12 #include "chromeos/chromeos_export.h" |
13 #include "chromeos/dbus/dbus_client.h" | 13 #include "chromeos/dbus/dbus_client.h" |
14 | 14 |
15 namespace chromeos { | 15 namespace chromeos { |
16 | 16 |
17 // Client for calling EasyUnlock dbus service. The service provides | 17 // Client for calling EasyUnlock dbus service. The service provides |
18 // methods used by Easy Unlock for establishing secure communication channel | 18 // methods used by Easy Unlock for establishing secure communication channel |
19 // over (unsecure) bluetooth with devices registered to unlock ChromeOS. | 19 // over (unsecure) bluetooth with devices registered to unlock ChromeOS. |
20 // Ideally, this would be done in Chrome, but unfortunatelly, the library used | 20 // Ideally, this would be done in Chrome, but unfortunatelly, the library used |
21 // for wrapping and unwrapping messages sent over the communication channel | 21 // for wrapping and unwrapping messages sent over the communication channel |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 // Create() should be used instead. | 145 // Create() should be used instead. |
146 EasyUnlockClient(); | 146 EasyUnlockClient(); |
147 | 147 |
148 private: | 148 private: |
149 DISALLOW_COPY_AND_ASSIGN(EasyUnlockClient); | 149 DISALLOW_COPY_AND_ASSIGN(EasyUnlockClient); |
150 }; | 150 }; |
151 | 151 |
152 } // namespace chromeos | 152 } // namespace chromeos |
153 | 153 |
154 #endif // CHROMEOS_DBUS_EASY_UNLOCK_CLIENT_H_ | 154 #endif // CHROMEOS_DBUS_EASY_UNLOCK_CLIENT_H_ |
OLD | NEW |