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

Unified Diff: chrome/browser/extensions/api/api_resource_event_notifier.h

Issue 10440097: Move socket API from experimental to dev channel and remove some dead code (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update Created 8 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
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);

Powered by Google App Engine
This is Rietveld 408576698