Chromium Code Reviews| 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..8a905b0815c23e2215494de3240ed345c54dd36c 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,6 +38,7 @@ class ApiResourceEventNotifier |
| const std::string& src_extension_id, int src_id, |
| const GURL& src_url); |
| +#if 0 |
|
miket_OOO
2012/07/27 19:21:24
Just remove the code. No #if 0 in non-test code.
Peng
2012/07/27 19:31:42
Done.
|
| virtual void OnConnectComplete(int result_code); |
| // Takes ownership of data. |
| @@ -50,7 +48,7 @@ class ApiResourceEventNotifier |
| int port); |
| virtual void OnWriteComplete(int result_code); |
| - |
| +#endif |
| virtual void OnTransferComplete(UsbTransferStatus status, |
| const std::string& error, |
| base::BinaryValue* data); |