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

Side by Side Diff: device/bluetooth/bluetooth_pairing_chromeos.h

Issue 681193002: Fix typos in device/bluetooth headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 DEVICE_BLUETOOTH_BLUETOOTH_PAIRING_CHROMEOS_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_PAIRING_CHROMEOS_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_PAIRING_CHROMEOS_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_PAIRING_CHROMEOS_H_
7 7
8 #include "chromeos/dbus/bluetooth_agent_service_provider.h" 8 #include "chromeos/dbus/bluetooth_agent_service_provider.h"
9 #include "device/bluetooth/bluetooth_device.h" 9 #include "device/bluetooth/bluetooth_device.h"
10 10
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 // Cancels a pairing or connection attempt to a remote device, returns 103 // Cancels a pairing or connection attempt to a remote device, returns
104 // false if there was no way to cancel the pairing. 104 // false if there was no way to cancel the pairing.
105 bool CancelPairing(); 105 bool CancelPairing();
106 106
107 // Returns the pairing delegate being used by this pairing object. 107 // Returns the pairing delegate being used by this pairing object.
108 device::BluetoothDevice::PairingDelegate* GetPairingDelegate() const; 108 device::BluetoothDevice::PairingDelegate* GetPairingDelegate() const;
109 109
110 private: 110 private:
111 // Internal method to reset the current set of callbacks because a new 111 // Internal method to reset the current set of callbacks because a new
112 // request has arrived that supercedes them. 112 // request has arrived that supersedes them.
113 void ResetCallbacks(); 113 void ResetCallbacks();
114 114
115 // Internal method to respond to the relevant callback for a RejectPairing 115 // Internal method to respond to the relevant callback for a RejectPairing
116 // or CancelPairing call. 116 // or CancelPairing call.
117 bool RunPairingCallbacks( 117 bool RunPairingCallbacks(
118 BluetoothAgentServiceProvider::Delegate::Status status); 118 BluetoothAgentServiceProvider::Delegate::Status status);
119 119
120 // The underlying BluetoothDeviceChromeOS that owns this pairing context. 120 // The underlying BluetoothDeviceChromeOS that owns this pairing context.
121 BluetoothDeviceChromeOS* device_; 121 BluetoothDeviceChromeOS* device_;
122 122
(...skipping 14 matching lines...) Expand all
137 BluetoothAgentServiceProvider::Delegate::PasskeyCallback passkey_callback_; 137 BluetoothAgentServiceProvider::Delegate::PasskeyCallback passkey_callback_;
138 BluetoothAgentServiceProvider::Delegate::ConfirmationCallback 138 BluetoothAgentServiceProvider::Delegate::ConfirmationCallback
139 confirmation_callback_; 139 confirmation_callback_;
140 140
141 DISALLOW_COPY_AND_ASSIGN(BluetoothPairingChromeOS); 141 DISALLOW_COPY_AND_ASSIGN(BluetoothPairingChromeOS);
142 }; 142 };
143 143
144 } // namespace chromeos 144 } // namespace chromeos
145 145
146 #endif // DEVICE_BLUETOOTH_BLUETOOTH_PAIRING_CHROMEOS_H_ 146 #endif // DEVICE_BLUETOOTH_BLUETOOTH_PAIRING_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698