summaryrefslogtreecommitdiffstats
path: root/device
diff options
context:
space:
mode:
authorkeybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-03 23:32:17 +0000
committerkeybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-03 23:32:17 +0000
commit7de902dbeda1e07b751e0fa3f24b84628cb03212 (patch)
treea0f126e6e4a3283ea481983f3bbdfd55d7a8b05b /device
parent4f254f6f2d3d09b89e6f59ce149c06b465f78328 (diff)
downloadchromium_src-7de902dbeda1e07b751e0fa3f24b84628cb03212.zip
chromium_src-7de902dbeda1e07b751e0fa3f24b84628cb03212.tar.gz
chromium_src-7de902dbeda1e07b751e0fa3f24b84628cb03212.tar.bz2
Bluetooth: make BluetoothProfile constructor protected
BUG=none TEST=device_unittests R=youngki@chromium.org Review URL: https://chromiumcodereview.appspot.com/14884002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198241 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device')
-rw-r--r--device/bluetooth/bluetooth_profile.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/device/bluetooth/bluetooth_profile.h b/device/bluetooth/bluetooth_profile.h
index 46200b3..4ff2480 100644
--- a/device/bluetooth/bluetooth_profile.h
+++ b/device/bluetooth/bluetooth_profile.h
@@ -99,10 +99,7 @@ class BluetoothProfile {
scoped_refptr<BluetoothSocket>)> ConnectionCallback;
virtual void SetConnectionCallback(const ConnectionCallback& callback) = 0;
- private:
- friend class BluetoothProfileMac;
- friend class MockBluetoothProfile;
-
+ protected:
BluetoothProfile();
virtual ~BluetoothProfile();
};