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 CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE_AP
I_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE_AP
I_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE_AP
I_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE_AP
I_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 | 361 |
362 // BluetoothExtensionFunction: | 362 // BluetoothExtensionFunction: |
363 bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) override; | 363 bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) override; |
364 | 364 |
365 void OnConnectionInfo( | 365 void OnConnectionInfo( |
366 const device::BluetoothDevice::ConnectionInfo& connection_info); | 366 const device::BluetoothDevice::ConnectionInfo& connection_info); |
367 | 367 |
368 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateGetConnectionInfoFunction); | 368 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateGetConnectionInfoFunction); |
369 }; | 369 }; |
370 | 370 |
| 371 class EasyUnlockPrivateShowErrorBubbleFunction : public SyncExtensionFunction { |
| 372 public: |
| 373 DECLARE_EXTENSION_FUNCTION("easyUnlockPrivate.showErrorBubble", |
| 374 EASYUNLOCKPRIVATE_SHOWERRORBUBBLE) |
| 375 EasyUnlockPrivateShowErrorBubbleFunction(); |
| 376 |
| 377 private: |
| 378 ~EasyUnlockPrivateShowErrorBubbleFunction() override; |
| 379 |
| 380 // SyncExtensionFunction: |
| 381 bool RunSync() override; |
| 382 |
| 383 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateShowErrorBubbleFunction); |
| 384 }; |
| 385 |
371 } // namespace api | 386 } // namespace api |
372 } // namespace extensions | 387 } // namespace extensions |
373 | 388 |
374 #endif // CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE
_API_H_ | 389 #endif // CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE
_API_H_ |
OLD | NEW |