summaryrefslogtreecommitdiffstats
path: root/device
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-07 06:24:27 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-07 06:24:27 +0000
commit8020c930dc95dbe04920a12daf6eb21e5d7a4f20 (patch)
tree02170b808f214073547cdd345be3c78fb81eed9f /device
parente795f46bc88b0bd04a27a30505e83522fde1b1ff (diff)
downloadchromium_src-8020c930dc95dbe04920a12daf6eb21e5d7a4f20.zip
chromium_src-8020c930dc95dbe04920a12daf6eb21e5d7a4f20.tar.gz
chromium_src-8020c930dc95dbe04920a12daf6eb21e5d7a4f20.tar.bz2
Enable Clang warnings in .cc files for Linux+[Aura/ChromeOS]
BUG=115047 R=darin Review URL: https://chromiumcodereview.appspot.com/14890005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198649 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device')
-rw-r--r--device/bluetooth/bluetooth_experimental_chromeos_unittest.cc21
1 files changed, 10 insertions, 11 deletions
diff --git a/device/bluetooth/bluetooth_experimental_chromeos_unittest.cc b/device/bluetooth/bluetooth_experimental_chromeos_unittest.cc
index 1c6f5b6..afd8325 100644
--- a/device/bluetooth/bluetooth_experimental_chromeos_unittest.cc
+++ b/device/bluetooth/bluetooth_experimental_chromeos_unittest.cc
@@ -136,51 +136,50 @@ class TestPairingDelegate : public BluetoothDevice::PairingDelegate {
last_entered_(999U) {}
virtual ~TestPairingDelegate() {}
- void RequestPinCode(BluetoothDevice* device) OVERRIDE {
+ virtual void RequestPinCode(BluetoothDevice* device) OVERRIDE {
++call_count_;
++request_pincode_count_;
QuitMessageLoop();
}
- void RequestPasskey(BluetoothDevice* device) OVERRIDE {
+ virtual void RequestPasskey(BluetoothDevice* device) OVERRIDE {
++call_count_;
++request_passkey_count_;
QuitMessageLoop();
}
- void DisplayPinCode(BluetoothDevice* device,
- const std::string& pincode) OVERRIDE {
+ virtual void DisplayPinCode(BluetoothDevice* device,
+ const std::string& pincode) OVERRIDE {
++call_count_;
++display_pincode_count_;
last_pincode_ = pincode;
QuitMessageLoop();
}
- void DisplayPasskey(BluetoothDevice* device,
- uint32 passkey) OVERRIDE {
+ virtual void DisplayPasskey(BluetoothDevice* device,
+ uint32 passkey) OVERRIDE {
++call_count_;
++display_passkey_count_;
last_passkey_ = passkey;
QuitMessageLoop();
}
- void KeysEntered(BluetoothDevice* device,
- uint32 entered) OVERRIDE {
+ virtual void KeysEntered(BluetoothDevice* device, uint32 entered) OVERRIDE {
++call_count_;
++keys_entered_count_;
last_entered_ = entered;
QuitMessageLoop();
}
- void ConfirmPasskey(BluetoothDevice* device,
- uint32 passkey) OVERRIDE {
+ virtual void ConfirmPasskey(BluetoothDevice* device,
+ uint32 passkey) OVERRIDE {
++call_count_;
++confirm_passkey_count_;
last_passkey_ = passkey;
QuitMessageLoop();
}
- void DismissDisplayOrConfirm() OVERRIDE {
+ virtual void DismissDisplayOrConfirm() OVERRIDE {
++call_count_;
++dismiss_count_;
QuitMessageLoop();