| 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 d9bb2260fcb1b0a1a5fe6cc439d6920d87907c4d..eb16a0118ed695ea241956a86b1e4766d2438528 100644
|
| --- a/chrome/browser/extensions/api/api_resource_event_notifier.h
|
| +++ b/chrome/browser/extensions/api/api_resource_event_notifier.h
|
| @@ -16,6 +16,10 @@
|
| class ExtensionEventRouter;
|
| class Profile;
|
|
|
| +namespace base {
|
| +class ListValue;
|
| +}
|
| +
|
| namespace extensions {
|
|
|
| enum APIResourceEventType {
|
| @@ -47,7 +51,10 @@ class APIResourceEventNotifier
|
| virtual ~APIResourceEventNotifier();
|
|
|
| virtual void OnConnectComplete(int result_code);
|
| - virtual void OnDataRead(int result_code, const std::string& data);
|
| +
|
| + // Takes ownership of data.
|
| + virtual void OnDataRead(int result_code, base::ListValue* data);
|
| +
|
| virtual void OnWriteComplete(int result_code);
|
|
|
| static std::string APIResourceEventTypeToString(
|
|
|