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

Unified Diff: chrome/browser/chromeos/bluetooth/test/mock_bluetooth_device.cc

Issue 11075006: Moved bluetooth adapter files to device/bluetooth/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: renamed 'bluetooth' target to 'device_bluetooth'. Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/bluetooth/test/mock_bluetooth_device.cc
diff --git a/chrome/browser/chromeos/bluetooth/test/mock_bluetooth_device.cc b/chrome/browser/chromeos/bluetooth/test/mock_bluetooth_device.cc
deleted file mode 100644
index 1387fd2725a42faace0f7c61d84eb7d426dc4c3c..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/bluetooth/test/mock_bluetooth_device.cc
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "base/utf_string_conversions.h"
-#include "chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.h"
-#include "chrome/browser/chromeos/bluetooth/test/mock_bluetooth_device.h"
-
-namespace chromeos {
-
-MockBluetoothDevice::MockBluetoothDevice(MockBluetoothAdapter* adapter,
- const std::string& name,
- const std::string& address,
- bool paired,
- bool bonded,
- bool connected)
- : name_(UTF8ToUTF16(name)),
- address_(address) {
- ON_CALL(*this, GetName())
- .WillByDefault(testing::Return(name_));
- ON_CALL(*this, address())
- .WillByDefault(testing::ReturnRef(address_));
- ON_CALL(*this, IsPaired())
- .WillByDefault(testing::Return(paired));
- ON_CALL(*this, IsBonded())
- .WillByDefault(testing::Return(bonded));
- ON_CALL(*this, IsConnected())
- .WillByDefault(testing::Return(connected));
- ON_CALL(*this, ExpectingPinCode())
- .WillByDefault(testing::Return(false));
- ON_CALL(*this, ExpectingPasskey())
- .WillByDefault(testing::Return(false));
- ON_CALL(*this, ExpectingConfirmation())
- .WillByDefault(testing::Return(false));
- ON_CALL(*this, GetServices())
- .WillByDefault(testing::ReturnRef(service_list_));
-}
-
-MockBluetoothDevice::~MockBluetoothDevice() {}
-
-} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698