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

Unified Diff: chrome/browser/extensions/api/hid/hid_api.h

Issue 161823002: Clean up HID backend and API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Many cleanup, such device ID, woww. Created 6 years, 10 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 | « no previous file | chrome/browser/extensions/api/hid/hid_api.cc » ('j') | device/hid/hid_connection.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/hid/hid_api.h
diff --git a/chrome/browser/extensions/api/hid/hid_api.h b/chrome/browser/extensions/api/hid/hid_api.h
index 3a443c217043e65ee13d5a85ead5052b87261b91..09ed2944cd61556587bf790b9367bc753be41b89 100644
--- a/chrome/browser/extensions/api/hid/hid_api.h
+++ b/chrome/browser/extensions/api/hid/hid_api.h
@@ -17,7 +17,7 @@
namespace net {
-class IOBuffer;
+class IOBufferWithSize;
} // namespace net
@@ -116,7 +116,7 @@ class HidReceiveFunction : public HidAsyncApiFunction {
void OnFinished(bool success, size_t bytes);
- scoped_refptr<net::IOBuffer> buffer_;
+ scoped_refptr<net::IOBufferWithSize> buffer_;
scoped_ptr<base::ListValue> result_;
scoped_ptr<extensions::api::hid::Receive::Params> parameters_;
@@ -160,7 +160,7 @@ class HidReceiveFeatureReportFunction : public HidAsyncApiFunction {
void OnFinished(bool success, size_t bytes);
- scoped_refptr<net::IOBuffer> buffer_;
+ scoped_refptr<net::IOBufferWithSize> buffer_;
scoped_ptr<base::ListValue> result_;
scoped_ptr<extensions::api::hid::ReceiveFeatureReport::Params> parameters_;
« no previous file with comments | « no previous file | chrome/browser/extensions/api/hid/hid_api.cc » ('j') | device/hid/hid_connection.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698