diff options
author | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-02 01:50:00 +0000 |
---|---|---|
committer | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-02 01:50:00 +0000 |
commit | d233ff7eadb909914779089770dfb2e70f8beddf (patch) | |
tree | 6900058787fa41b1d50fc22cae44eab3a471a665 /device/bluetooth/bluetooth_discovery_session.h | |
parent | 5ca3c2c9c7bed1cfe7cdf2413893e40dab56d718 (diff) | |
download | chromium_src-d233ff7eadb909914779089770dfb2e70f8beddf.zip chromium_src-d233ff7eadb909914779089770dfb2e70f8beddf.tar.gz chromium_src-d233ff7eadb909914779089770dfb2e70f8beddf.tar.bz2 |
Clean up BluetoothDiscoverySession a bit.
* Avoid unhelpful logging for a common path through the destructor.
* Remove the need for a test-only constructor.
BUG=none
TEST=none
R=armansito@chromium.org
Review URL: https://codereview.chromium.org/368493002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280937 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device/bluetooth/bluetooth_discovery_session.h')
-rw-r--r-- | device/bluetooth/bluetooth_discovery_session.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/device/bluetooth/bluetooth_discovery_session.h b/device/bluetooth/bluetooth_discovery_session.h index 666538b..08a1de8 100644 --- a/device/bluetooth/bluetooth_discovery_session.h +++ b/device/bluetooth/bluetooth_discovery_session.h @@ -58,11 +58,10 @@ class BluetoothDiscoverySession { const ErrorCallback& error_callback); protected: - BluetoothDiscoverySession(); // Called by mock. + explicit BluetoothDiscoverySession(scoped_refptr<BluetoothAdapter> adapter); private: friend class BluetoothAdapter; - explicit BluetoothDiscoverySession(scoped_refptr<BluetoothAdapter> adapter); // Internal callback invoked when a call to Stop has succeeded. void OnStop(const base::Closure& callback); |