OSDN Git Service

Add missing namespace for security UI
authorJakub Pawlowski <jpawlowski@google.com>
Thu, 5 Dec 2019 09:16:23 +0000 (10:16 +0100)
committerJakub Pawlowski <jpawlowski@google.com>
Thu, 5 Dec 2019 10:54:17 +0000 (11:54 +0100)
Bug: 142341141
Change-Id: I36a0e3c28efa0cefe5aed3a67106c1727b27127b

gd/security/ui.h

index 83041de..abb943e 100644 (file)
@@ -20,6 +20,9 @@
 
 #include "hci/address_with_type.h"
 
+namespace bluetooth {
+namespace security {
+
 // Through this interface we talk to the user, asking for confirmations/acceptance.
 class UI {
  public:
@@ -56,3 +59,6 @@ class UICallbacks {
   /* User typed the value displayed on the other device. This is either Passkey or the Confirm value */
   virtual void OnPasskeyEntry(const bluetooth::hci::Address& address, uint32_t passkey) = 0;
 };
+
+}  // namespace security
+}  // namespace bluetooth