| Index: extensions/browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.cc
|
| diff --git a/chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_event_dispatcher.cc b/extensions/browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.cc
|
| similarity index 96%
|
| rename from chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_event_dispatcher.cc
|
| rename to extensions/browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.cc
|
| index e96d3fc2cc7b93dc5fc407b9f0d09e3eb8f22b56..51ca9b074e5721bd509d493d9043425d84dff354 100644
|
| --- a/chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_event_dispatcher.cc
|
| +++ b/extensions/browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.cc
|
| @@ -2,20 +2,18 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_event_dispatcher.h"
|
| +#include "extensions/browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.h"
|
|
|
| -#include "chrome/browser/browser_process.h"
|
| -#include "chrome/browser/extensions/api/bluetooth_socket/bluetooth_api_socket.h"
|
| -#include "chrome/common/extensions/api/bluetooth_socket.h"
|
| #include "device/bluetooth/bluetooth_device.h"
|
| #include "device/bluetooth/bluetooth_socket.h"
|
| +#include "extensions/browser/api/bluetooth_socket/bluetooth_api_socket.h"
|
| #include "extensions/browser/event_router.h"
|
| +#include "extensions/common/api/bluetooth_socket.h"
|
| #include "net/base/io_buffer.h"
|
| -#include "net/base/net_errors.h"
|
|
|
| namespace {
|
|
|
| -namespace bluetooth_socket = extensions::api::bluetooth_socket;
|
| +namespace bluetooth_socket = extensions::core_api::bluetooth_socket;
|
| using extensions::BluetoothApiSocket;
|
|
|
| int kDefaultBufferSize = 4096;
|
| @@ -55,7 +53,7 @@ bluetooth_socket::AcceptError MapAcceptErrorReason(
|
| } // namespace
|
|
|
| namespace extensions {
|
| -namespace api {
|
| +namespace core_api {
|
|
|
| using content::BrowserThread;
|
|
|
| @@ -368,5 +366,5 @@ void BluetoothSocketEventDispatcher::DispatchEvent(
|
| router->DispatchEventToExtension(extension_id, event.Pass());
|
| }
|
|
|
| -} // namespace api
|
| +} // namespace core_api
|
| } // namespace extensions
|
|
|