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

Side by Side Diff: extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.h

Issue 1226353004: Generate all extension schema namespaces as "api" and instead vary the generated bundle names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 months 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 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 EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_PAIRING_DELEGATE_H_ 5 #ifndef EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_PAIRING_DELEGATE_H_
6 #define EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_PAIRING_DELEGATE_H_ 6 #define EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_PAIRING_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "device/bluetooth/bluetooth_device.h" 10 #include "device/bluetooth/bluetooth_device.h"
(...skipping 20 matching lines...) Expand all
31 void DisplayPinCode(device::BluetoothDevice* device, 31 void DisplayPinCode(device::BluetoothDevice* device,
32 const std::string& pincode) override; 32 const std::string& pincode) override;
33 void DisplayPasskey(device::BluetoothDevice* device, uint32 passkey) override; 33 void DisplayPasskey(device::BluetoothDevice* device, uint32 passkey) override;
34 void KeysEntered(device::BluetoothDevice* device, uint32 entered) override; 34 void KeysEntered(device::BluetoothDevice* device, uint32 entered) override;
35 void ConfirmPasskey(device::BluetoothDevice* device, uint32 passkey) override; 35 void ConfirmPasskey(device::BluetoothDevice* device, uint32 passkey) override;
36 void AuthorizePairing(device::BluetoothDevice* device) override; 36 void AuthorizePairing(device::BluetoothDevice* device) override;
37 37
38 private: 38 private:
39 // Dispatches a pairing event to the extension. 39 // Dispatches a pairing event to the extension.
40 void DispatchPairingEvent( 40 void DispatchPairingEvent(
41 const core_api::bluetooth_private::PairingEvent& pairing_event); 41 const api::bluetooth_private::PairingEvent& pairing_event);
42 42
43 std::string extension_id_; 43 std::string extension_id_;
44 content::BrowserContext* browser_context_; 44 content::BrowserContext* browser_context_;
45 }; 45 };
46 46
47 } // namespace extensions 47 } // namespace extensions
48 48
49 #endif // EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_PAIRING_DELEGATE_H_ 49 #endif // EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_PAIRING_DELEGATE_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/bluetooth/bluetooth_api.cc ('k') | extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698