summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_file_browser_private_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_file_browser_private_api.h')
-rw-r--r--chrome/browser/extensions/extension_file_browser_private_api.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_file_browser_private_api.h b/chrome/browser/extensions/extension_file_browser_private_api.h
index a56a484..45391cf 100644
--- a/chrome/browser/extensions/extension_file_browser_private_api.h
+++ b/chrome/browser/extensions/extension_file_browser_private_api.h
@@ -10,11 +10,13 @@
#include <string>
#include <vector>
-#include "base/file_path.h"
+#include "base/platform_file.h"
#include "chrome/browser/extensions/extension_function.h"
#include "chrome/browser/ui/shell_dialogs.h"
#include "webkit/fileapi/file_system_callback_dispatcher.h"
+class GURL;
+
// Implements the Chrome Extension local File API.
class RequestLocalFileSystemFunction
: public AsyncExtensionFunction {
@@ -30,7 +32,7 @@ class RequestLocalFileSystemFunction
private:
friend class LocalFileSystemCallbackDispatcher;
void RespondSuccessOnUIThread(const std::string& name,
- const FilePath& path);
+ const GURL& root);
void RespondFailedOnUIThread(base::PlatformFileError error_code);
DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.requestLocalFileSystem");