diff options
author | youngki@chromium.org <youngki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-02 01:56:45 +0000 |
---|---|---|
committer | youngki@chromium.org <youngki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-02 01:56:45 +0000 |
commit | cc1bc719c2fd37e710a5cdf55f4559801b98d9ba (patch) | |
tree | 49fd64a8674e54904d886546acfce2f7b636d980 /chrome/browser/chromeos/extensions/bluetooth_event_router.cc | |
parent | ac22933cf0a514c841856e6274df8f2000ae8203 (diff) | |
download | chromium_src-cc1bc719c2fd37e710a5cdf55f4559801b98d9ba.zip chromium_src-cc1bc719c2fd37e710a5cdf55f4559801b98d9ba.tar.gz chromium_src-cc1bc719c2fd37e710a5cdf55f4559801b98d9ba.tar.bz2 |
Renames the classes in chrome/browser/chromeos/bluetooth/ ChromeOs-specific (i.e. BluetoothAdapter => BluetoothAdapterChromeOs) and creating interfaces: BluetoothAdapter and BluetoothDevice.
This CL does the Step 1 & 2 of:
1) Renames the classes in chrome/browser/chromeos/bluetooth/ chromeos-specific
(i.e. BluetoothAdapter => BluetoothAdapterChromeOs)
2) Create interfaces of the classes in chrome/browser/chromeos/bluetooth/.
These interfaces will be used in the platform-independent logics.
3) Move everything out of chrome/browser/chromeos/bluetooth/ into
devices/bluetooth/ since the code is no longer specific to linux/chromeos.
4) Add Windows implementations. (i.e. Create BluetoothAdapterWindows)
BUG=135470
Review URL: https://chromiumcodereview.appspot.com/10899037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159615 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/extensions/bluetooth_event_router.cc')
-rw-r--r-- | chrome/browser/chromeos/extensions/bluetooth_event_router.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/extensions/bluetooth_event_router.cc b/chrome/browser/chromeos/extensions/bluetooth_event_router.cc index c93c765..64331bf 100644 --- a/chrome/browser/chromeos/extensions/bluetooth_event_router.cc +++ b/chrome/browser/chromeos/extensions/bluetooth_event_router.cc @@ -11,7 +11,8 @@ #include "base/memory/scoped_vector.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/bluetooth/bluetooth_adapter.h" -#include "chrome/browser/chromeos/bluetooth/bluetooth_device.h" +#include "chrome/browser/chromeos/bluetooth/bluetooth_adapter_factory.h" +#include "chrome/browser/chromeos/bluetooth/bluetooth_device_chromeos.h" #include "chrome/browser/chromeos/bluetooth/bluetooth_socket.h" #include "chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.h" #include "chrome/browser/extensions/event_names.h" @@ -24,7 +25,7 @@ namespace chromeos { ExtensionBluetoothEventRouter::ExtensionBluetoothEventRouter(Profile* profile) : profile_(profile), - adapter_(chromeos::BluetoothAdapter::DefaultAdapter()), + adapter_(chromeos::BluetoothAdapterFactory::DefaultAdapter()), next_socket_id_(1) { DCHECK(profile_); DCHECK(adapter_.get()); |