mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 153668.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@750 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -14,7 +14,7 @@
|
||||
#include "base/scoped_temp_dir.h"
|
||||
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSystem.h"
|
||||
#include "webkit/fileapi/file_system_context.h"
|
||||
#include "webkit/fileapi/file_system_operation_interface.h"
|
||||
#include "webkit/fileapi/file_system_operation.h"
|
||||
#include "webkit/fileapi/file_system_types.h"
|
||||
|
||||
namespace WebKit {
|
||||
@ -46,6 +46,9 @@ class BrowserFileSystem
|
||||
long long size, // NOLINT(runtime/int)
|
||||
bool create,
|
||||
WebKit::WebFileSystemCallbacks* callbacks);
|
||||
void DeleteFileSystem(WebKit::WebFrame* frame,
|
||||
WebKit::WebFileSystem::Type type,
|
||||
WebKit::WebFileSystemCallbacks* callbacks);
|
||||
|
||||
fileapi::FileSystemContext* file_system_context() {
|
||||
return file_system_context_.get();
|
||||
@ -107,19 +110,21 @@ class BrowserFileSystem
|
||||
// Helpers.
|
||||
bool HasFilePermission(const fileapi::FileSystemURL& url,
|
||||
FilePermission permission);
|
||||
fileapi::FileSystemOperationInterface* GetNewOperation(
|
||||
fileapi::FileSystemOperation* GetNewOperation(
|
||||
const fileapi::FileSystemURL& url);
|
||||
|
||||
// Callback Handlers
|
||||
fileapi::FileSystemOperationInterface::StatusCallback FinishHandler(
|
||||
fileapi::FileSystemOperation::StatusCallback FinishHandler(
|
||||
WebKit::WebFileSystemCallbacks* callbacks);
|
||||
fileapi::FileSystemOperationInterface::GetMetadataCallback GetMetadataHandler(
|
||||
fileapi::FileSystemOperation::GetMetadataCallback GetMetadataHandler(
|
||||
WebKit::WebFileSystemCallbacks* callbacks);
|
||||
fileapi::FileSystemOperationInterface::ReadDirectoryCallback
|
||||
fileapi::FileSystemOperation::ReadDirectoryCallback
|
||||
ReadDirectoryHandler(WebKit::WebFileSystemCallbacks* callbacks);
|
||||
fileapi::FileSystemContext::OpenFileSystemCallback OpenFileSystemHandler(
|
||||
WebKit::WebFileSystemCallbacks* callbacks);
|
||||
fileapi::FileSystemOperationInterface::SnapshotFileCallback
|
||||
fileapi::FileSystemContext::DeleteFileSystemCallback DeleteFileSystemHandler(
|
||||
WebKit::WebFileSystemCallbacks* callbacks);
|
||||
fileapi::FileSystemOperation::SnapshotFileCallback
|
||||
SnapshotFileHandler(const GURL& blob_url,
|
||||
WebKit::WebFileSystemCallbacks* callbacks);
|
||||
void DidFinish(WebKit::WebFileSystemCallbacks* callbacks,
|
||||
@ -136,6 +141,8 @@ class BrowserFileSystem
|
||||
void DidOpenFileSystem(WebKit::WebFileSystemCallbacks* callbacks,
|
||||
base::PlatformFileError result,
|
||||
const std::string& name, const GURL& root);
|
||||
void DidDeleteFileSystem(WebKit::WebFileSystemCallbacks* callbacks,
|
||||
base::PlatformFileError result);
|
||||
void DidCreateSnapshotFile(
|
||||
const GURL& blob_url,
|
||||
WebKit::WebFileSystemCallbacks* callbacks,
|
||||
|
Reference in New Issue
Block a user