Index: chrome/browser/extensions/api/api_resource_event_notifier.h |
diff --git a/chrome/browser/extensions/api/api_resource_event_notifier.h b/chrome/browser/extensions/api/api_resource_event_notifier.h |
index 9ed81894ec4ce19db4449e18e9004d971893f8e2..f9876632e68b683fc4e6427bac4a9d7d11026949 100644 |
--- a/chrome/browser/extensions/api/api_resource_event_notifier.h |
+++ b/chrome/browser/extensions/api/api_resource_event_notifier.h |
@@ -23,9 +23,6 @@ namespace extensions { |
class EventRouter; |
enum ApiResourceEventType { |
- API_RESOURCE_EVENT_CONNECT_COMPLETE, |
- API_RESOURCE_EVENT_DATA_READ, |
- API_RESOURCE_EVENT_WRITE_COMPLETE, |
API_RESOURCE_EVENT_TRANSFER_COMPLETE, |
}; |
@@ -41,16 +38,6 @@ class ApiResourceEventNotifier |
const std::string& src_extension_id, int src_id, |
const GURL& src_url); |
- virtual void OnConnectComplete(int result_code); |
- |
- // Takes ownership of data. |
- virtual void OnDataRead(int result_code, |
- base::ListValue* data, |
- const std::string& address, |
- int port); |
- |
- virtual void OnWriteComplete(int result_code); |
- |
virtual void OnTransferComplete(UsbTransferStatus status, |
const std::string& error, |
base::BinaryValue* data); |