| 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 286a9c050f3567a1ade697a4c8f0306dd83a8764..09f4070ed6841d2158def7f96eaff68aac1fe480 100644 | 
| --- a/chrome/browser/extensions/api/api_resource_event_notifier.h | 
| +++ b/chrome/browser/extensions/api/api_resource_event_notifier.h | 
| @@ -25,7 +25,8 @@ namespace extensions { | 
| enum APIResourceEventType { | 
| API_RESOURCE_EVENT_CONNECT_COMPLETE, | 
| API_RESOURCE_EVENT_DATA_READ, | 
| -  API_RESOURCE_EVENT_WRITE_COMPLETE | 
| +  API_RESOURCE_EVENT_WRITE_COMPLETE, | 
| +  API_RESOURCE_EVENT_TRANSFER_COMPLETE, | 
| }; | 
|  | 
| extern const char kSrcIdKey[]; | 
| @@ -59,6 +60,8 @@ class APIResourceEventNotifier | 
|  | 
| virtual void OnWriteComplete(int result_code); | 
|  | 
| +  virtual void OnTransferComplete(int result_code, base::ListValue* data); | 
| + | 
| static std::string APIResourceEventTypeToString( | 
| APIResourceEventType event_type); | 
|  | 
| @@ -68,11 +71,13 @@ class APIResourceEventNotifier | 
|  | 
| virtual ~APIResourceEventNotifier(); | 
|  | 
| -  void DispatchEvent(DictionaryValue* event); | 
| -  void DispatchEventOnUIThread(DictionaryValue* event); | 
| +  void DispatchEvent(const std::string &extension, DictionaryValue* event); | 
| +  void DispatchEventOnUIThread(const std::string& extension, | 
| +                               DictionaryValue* event); | 
| DictionaryValue* CreateAPIResourceEvent(APIResourceEventType event_type); | 
|  | 
| -  void SendEventWithResultCode(APIResourceEventType event_type, | 
| +  void SendEventWithResultCode(const std::string& extension, | 
| +                               APIResourceEventType event_type, | 
| int result_code); | 
|  | 
| ExtensionEventRouter* router_; | 
|  |