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

Unified Diff: extensions/browser/api/hid/hid_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
« no previous file with comments | « extensions/browser/api/hid/hid_api.h ('k') | extensions/browser/api/hid/hid_device_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/hid/hid_api.cc
diff --git a/extensions/browser/api/hid/hid_api.cc b/extensions/browser/api/hid/hid_api.cc
index c0679bcf9ec235357fd87a990e33dd770f6e48de..1d284a4a32a010fea0d5da0a85a8461e35a21e3a 100644
--- a/extensions/browser/api/hid/hid_api.cc
+++ b/extensions/browser/api/hid/hid_api.cc
@@ -19,7 +19,7 @@
#include "extensions/common/api/hid.h"
#include "net/base/io_buffer.h"
-namespace hid = extensions::core_api::hid;
+namespace hid = extensions::api::hid;
using device::HidConnection;
using device::HidDeviceFilter;
@@ -66,7 +66,7 @@ HidGetDevicesFunction::HidGetDevicesFunction() {}
HidGetDevicesFunction::~HidGetDevicesFunction() {}
ExtensionFunction::ResponseAction HidGetDevicesFunction::Run() {
- scoped_ptr<core_api::hid::GetDevices::Params> parameters =
+ scoped_ptr<api::hid::GetDevices::Params> parameters =
hid::GetDevices::Params::Create(*args_);
EXTENSION_FUNCTION_VALIDATE(parameters);
@@ -107,7 +107,7 @@ HidGetUserSelectedDevicesFunction::~HidGetUserSelectedDevicesFunction() {
}
ExtensionFunction::ResponseAction HidGetUserSelectedDevicesFunction::Run() {
- scoped_ptr<core_api::hid::GetUserSelectedDevices::Params> parameters =
+ scoped_ptr<api::hid::GetUserSelectedDevices::Params> parameters =
hid::GetUserSelectedDevices::Params::Create(*args_);
EXTENSION_FUNCTION_VALIDATE(parameters);
@@ -151,7 +151,7 @@ HidConnectFunction::HidConnectFunction() : connection_manager_(nullptr) {
HidConnectFunction::~HidConnectFunction() {}
ExtensionFunction::ResponseAction HidConnectFunction::Run() {
- scoped_ptr<core_api::hid::Connect::Params> parameters =
+ scoped_ptr<api::hid::Connect::Params> parameters =
hid::Connect::Params::Create(*args_);
EXTENSION_FUNCTION_VALIDATE(parameters);
@@ -199,7 +199,7 @@ HidDisconnectFunction::HidDisconnectFunction() {}
HidDisconnectFunction::~HidDisconnectFunction() {}
ExtensionFunction::ResponseAction HidDisconnectFunction::Run() {
- scoped_ptr<core_api::hid::Disconnect::Params> parameters =
+ scoped_ptr<api::hid::Disconnect::Params> parameters =
hid::Disconnect::Params::Create(*args_);
EXTENSION_FUNCTION_VALIDATE(parameters);
« no previous file with comments | « extensions/browser/api/hid/hid_api.h ('k') | extensions/browser/api/hid/hid_device_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698