#include "base/memory/scoped_ptr.h"
#include "chrome/browser/chromeos/file_system_provider/provided_file_system_info.h"
#include "chrome/browser/chromeos/file_system_provider/request_manager.h"
-#include "webkit/browser/fileapi/async_file_util.h"
+#include "storage/browser/fileapi/async_file_util.h"
namespace base {
-class DictionaryValue;
+class ListValue;
} // namespace base
namespace extensions {
virtual void OnSuccess(int request_id,
scoped_ptr<RequestValue> result,
bool has_more) OVERRIDE = 0;
- virtual void OnError(int request_id, base::File::Error error) OVERRIDE = 0;
+ virtual void OnError(int request_id,
+ scoped_ptr<RequestValue> result,
+ base::File::Error error) OVERRIDE = 0;
// Sets custom dispatchign event implementation for tests.
void SetDispatchEventImplForTesting(
const DispatchEventImplCallback& callback);
protected:
- // Sends an event to the providing extension. Automatically adds the file
- // system id and the request id fields. Returns false, if the providing
+ // Sends an event to the providing extension. Returns false, if the providing
// extension does not handle the |event_name| event.
bool SendEvent(int request_id,
const std::string& event_name,
- scoped_ptr<base::DictionaryValue> options);
+ scoped_ptr<base::ListValue> event_args);
ProvidedFileSystemInfo file_system_info_;