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

Unified Diff: chrome/browser/extensions/api/usb/usb_api.h

Issue 10824298: Adding tests for USB extension API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MSVC fix for warning about the old version of their compiler being broken. Created 8 years, 4 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/usb/usb_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/usb/usb_api.h
diff --git a/chrome/browser/extensions/api/usb/usb_api.h b/chrome/browser/extensions/api/usb/usb_api.h
index 9b46bd32bc93ae37a5e1f36b6d8f2e344beeb95c..276a4927d2c9904c1240e3d704d4e7eeeec9e243 100644
--- a/chrome/browser/extensions/api/usb/usb_api.h
+++ b/chrome/browser/extensions/api/usb/usb_api.h
@@ -11,6 +11,8 @@
#include "chrome/browser/extensions/api/api_resource_manager.h"
#include "chrome/common/extensions/api/experimental_usb.h"
+class UsbDevice;
+
namespace extensions {
class ApiResourceEventNotifier;
@@ -34,6 +36,8 @@ class UsbFindDeviceFunction : public UsbAsyncApiFunction {
UsbFindDeviceFunction();
+ static void SetDeviceForTest(UsbDevice* device);
+
protected:
virtual ~UsbFindDeviceFunction();
virtual bool Prepare() OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/extensions/api/usb/usb_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698