Skip to content

Commit

Permalink
Bluetooth: make BluetoothProfile constructor protected
Browse files Browse the repository at this point in the history
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
  • Loading branch information
keybuk@chromium.org committed May 3, 2013
1 parent 4f254f6 commit 7de902d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions device/bluetooth/bluetooth_profile.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
};
Expand Down

0 comments on commit 7de902d

Please sign in to comment.