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

Unified Diff: extensions/browser/api/hid/hid_device_manager.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.cc ('k') | extensions/browser/api/idle/idle_api_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/hid/hid_device_manager.cc
diff --git a/extensions/browser/api/hid/hid_device_manager.cc b/extensions/browser/api/hid/hid_device_manager.cc
index bcfd4ae2a39f72e5898a9db35656bdd5ad23692d..287558355f438e2f194e3647ded6f8cc8f242ed4 100644
--- a/extensions/browser/api/hid/hid_device_manager.cc
+++ b/extensions/browser/api/hid/hid_device_manager.cc
@@ -15,7 +15,7 @@
#include "extensions/common/permissions/permissions_data.h"
#include "extensions/common/permissions/usb_device_permission.h"
-namespace hid = extensions::core_api::hid;
+namespace hid = extensions::api::hid;
using device::HidDeviceFilter;
using device::HidDeviceId;
@@ -213,7 +213,7 @@ void HidDeviceManager::OnDeviceAdded(scoped_refptr<HidDeviceInfo> device_info) {
// Don't generate events during the initial enumeration.
if (enumeration_ready_ && event_router_) {
- core_api::hid::HidDeviceInfo api_device_info;
+ api::hid::HidDeviceInfo api_device_info;
api_device_info.device_id = new_id;
PopulateHidDeviceInfo(&api_device_info, device_info);
« no previous file with comments | « extensions/browser/api/hid/hid_api.cc ('k') | extensions/browser/api/idle/idle_api_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698