Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: extensions/browser/api/bluetooth/bluetooth_api.cc

Issue 1226353004: Generate all extension schema namespaces as "api" and instead vary the generated bundle names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/browser/api/bluetooth/bluetooth_api.cc
diff --git a/extensions/browser/api/bluetooth/bluetooth_api.cc b/extensions/browser/api/bluetooth/bluetooth_api.cc
index 048bd1184000fc71cd0a28ee6e3cfdc96697199f..4570f4ed6826b5a263b68465e3813e744d4a4299 100644
--- a/extensions/browser/api/bluetooth/bluetooth_api.cc
+++ b/extensions/browser/api/bluetooth/bluetooth_api.cc
@@ -23,9 +23,9 @@ using content::BrowserThread;
using device::BluetoothAdapter;
using device::BluetoothDevice;
-namespace bluetooth = extensions::core_api::bluetooth;
-namespace GetDevice = extensions::core_api::bluetooth::GetDevice;
-namespace GetDevices = extensions::core_api::bluetooth::GetDevices;
+namespace bluetooth = extensions::api::bluetooth;
+namespace GetDevice = extensions::api::bluetooth::GetDevice;
+namespace GetDevices = extensions::api::bluetooth::GetDevices;
namespace {
@@ -96,7 +96,7 @@ void BluetoothAPI::OnListenerRemoved(const EventListenerInfo& details) {
event_router()->OnListenerRemoved();
}
-namespace core_api {
+namespace api {
BluetoothGetAdapterStateFunction::~BluetoothGetAdapterStateFunction() {}
@@ -199,5 +199,5 @@ bool BluetoothStopDiscoveryFunction::DoWork(
return true;
}
-} // namespace core_api
+} // namespace api
} // namespace extensions
« no previous file with comments | « extensions/browser/api/bluetooth/bluetooth_api.h ('k') | extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698