Searched refs:storage (Results 1 - 25 of 1558) sorted by relevance

1234567891011>>

/external/chromium_org/content/common/
H A Dpepper_file_util.cc9 storage::FileSystemType PepperFileSystemTypeToFileSystemType(
13 return storage::kFileSystemTypeTemporary;
15 return storage::kFileSystemTypePersistent;
17 return storage::kFileSystemTypeExternal;
19 return storage::kFileSystemTypeUnknown;
/external/chromium_org/content/public/test/
H A Dtest_file_system_options.h8 #include "storage/browser/fileapi/file_system_options.h"
13 storage::FileSystemOptions CreateIncognitoFileSystemOptions();
16 storage::FileSystemOptions CreateAllowFileAccessOptions();
19 storage::FileSystemOptions CreateDisallowFileAccessOptions();
H A Dtest_file_system_backend.h11 #include "storage/browser/fileapi/async_file_util_adapter.h"
12 #include "storage/browser/fileapi/file_system_backend.h"
13 #include "storage/browser/fileapi/task_runner_bound_observer_list.h"
19 namespace storage { namespace
29 class TestFileSystemBackend : public storage::FileSystemBackend {
37 virtual bool CanHandleType(storage::FileSystemType type) const OVERRIDE;
38 virtual void Initialize(storage::FileSystemContext* context) OVERRIDE;
39 virtual void ResolveURL(const storage::FileSystemURL& url,
40 storage::OpenFileSystemMode mode,
42 virtual storage
[all...]
H A Dtest_file_system_context.h10 #include "storage/browser/fileapi/file_system_context.h"
12 namespace storage { namespace
17 namespace storage { namespace
23 storage::FileSystemContext* CreateFileSystemContextForTesting(
24 storage::QuotaManagerProxy* quota_manager_proxy,
29 storage::FileSystemContext*
31 storage::QuotaManagerProxy* quota_manager_proxy,
32 ScopedVector<storage::FileSystemBackend> additional_providers,
35 storage::FileSystemContext* CreateFileSystemContextWithAutoMountersForTesting(
36 storage
[all...]
H A Dasync_file_test_helper.h9 #include "storage/browser/fileapi/file_system_operation.h"
10 #include "storage/common/fileapi/file_system_types.h"
11 #include "storage/common/quota/quota_status_code.h"
13 namespace storage { namespace
17 namespace storage { namespace
27 typedef storage::FileSystemOperation::FileEntryList FileEntryList;
28 typedef storage::FileSystemOperation::CopyProgressCallback
34 static base::File::Error Copy(storage::FileSystemContext* context,
35 const storage::FileSystemURL& src,
36 const storage
[all...]
H A Dtest_file_system_context.cc11 #include "storage/browser/fileapi/external_mount_points.h"
12 #include "storage/browser/fileapi/file_system_backend.h"
13 #include "storage/browser/fileapi/file_system_context.h"
17 storage::FileSystemContext* CreateFileSystemContextForTesting(
18 storage::QuotaManagerProxy* quota_manager_proxy,
20 ScopedVector<storage::FileSystemBackend> additional_providers;
27 storage::FileSystemContext*
29 storage::QuotaManagerProxy* quota_manager_proxy,
30 ScopedVector<storage::FileSystemBackend> additional_providers,
32 return new storage
[all...]
H A Dsandbox_file_system_test_helper.h12 #include "storage/browser/fileapi/file_system_url.h"
13 #include "storage/browser/fileapi/file_system_usage_cache.h"
14 #include "storage/browser/fileapi/task_runner_bound_observer_list.h"
15 #include "storage/common/fileapi/file_system_types.h"
16 #include "storage/common/fileapi/file_system_util.h"
17 #include "storage/common/quota/quota_types.h"
24 namespace storage { namespace
28 namespace storage { namespace
42 SandboxFileSystemTestHelper(const GURL& origin, storage::FileSystemType type);
51 void SetUp(storage
[all...]
/external/expat/tests/
H A Dchardata.c35 CharData_Init(CharData *storage) argument
37 assert(storage != NULL);
38 storage->count = -1;
42 CharData_AppendString(CharData *storage, const char *s) argument
44 int maxchars = sizeof(storage->data) / sizeof(storage->data[0]);
49 if (storage->count < 0)
50 storage->count = 0;
51 if ((len + storage->count) > maxchars) {
52 len = (maxchars - storage
61 CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len) argument
83 CharData_CheckString(CharData *storage, const char *expected) argument
112 CharData_CheckXMLChars(CharData *storage, const XML_Char *expected) argument
[all...]
H A Dchardata.h25 void CharData_Init(CharData *storage);
27 void CharData_AppendString(CharData *storage, const char *s);
29 void CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len);
31 int CharData_CheckString(CharData *storage, const char *s);
33 int CharData_CheckXMLChars(CharData *storage, const XML_Char *s);
/external/chromium_org/content/test/data/dom_storage/
H A Dsanity_check.js21 function sanityCheck(storage) {
22 storage.clear();
24 checkEqual(0, storage.length,
25 "storage.length != 0 at start");
26 checkEqual(null, storage.getItem("foo"),
28 checkEqual(null, storage.key(0),
31 storage.setItem("foo", "bar");
33 checkEqual(1, storage.length,
34 "storage.length != 1 after addition");
35 checkEqual("bar", storage
[all...]
/external/chromium_org/chrome/browser/chromeos/file_system_provider/fileapi/
H A Dbackend_delegate.cc13 #include "storage/browser/blob/file_stream_reader.h"
14 #include "storage/browser/fileapi/file_stream_writer.h"
15 #include "storage/browser/fileapi/file_system_url.h"
34 storage::AsyncFileUtil* BackendDelegate::GetAsyncFileUtil(
35 storage::FileSystemType type) {
37 DCHECK_EQ(storage::kFileSystemTypeProvided, type);
41 scoped_ptr<storage::FileStreamReader> BackendDelegate::CreateFileStreamReader(
42 const storage::FileSystemURL& url,
46 storage::FileSystemContext* context) {
48 DCHECK_EQ(storage
[all...]
H A Dprovider_async_file_util.h10 #include "storage/browser/fileapi/async_file_util.h"
19 // The implementation of storage::AsyncFileUtil for provided file systems. It is
29 class ProviderAsyncFileUtil : public storage::AsyncFileUtil {
34 // storage::AsyncFileUtil overrides.
36 scoped_ptr<storage::FileSystemOperationContext> context,
37 const storage::FileSystemURL& url,
41 scoped_ptr<storage::FileSystemOperationContext> context,
42 const storage::FileSystemURL& url,
45 scoped_ptr<storage::FileSystemOperationContext> context,
46 const storage
[all...]
H A Dbackend_delegate.h13 namespace storage { namespace
20 } // namespace storage
33 virtual storage::AsyncFileUtil* GetAsyncFileUtil(
34 storage::FileSystemType type) OVERRIDE;
35 virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader(
36 const storage::FileSystemURL& url,
40 storage::FileSystemContext* context) OVERRIDE;
41 virtual scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter(
42 const storage::FileSystemURL& url,
44 storage
[all...]
/external/chromium_org/chrome/browser/chromeos/drive/fileapi/
H A Dasync_file_util.h10 #include "storage/browser/fileapi/async_file_util.h"
18 // The implementation of storage::AsyncFileUtil for Drive File System.
19 class AsyncFileUtil : public storage::AsyncFileUtil {
24 // storage::AsyncFileUtil overrides.
26 scoped_ptr<storage::FileSystemOperationContext> context,
27 const storage::FileSystemURL& url,
31 scoped_ptr<storage::FileSystemOperationContext> context,
32 const storage::FileSystemURL& url,
35 scoped_ptr<storage::FileSystemOperationContext> context,
36 const storage
[all...]
H A Dfile_system_backend_delegate.h12 namespace storage { namespace
19 } // namespace storage
31 virtual storage::AsyncFileUtil* GetAsyncFileUtil(
32 storage::FileSystemType type) OVERRIDE;
33 virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader(
34 const storage::FileSystemURL& url,
38 storage::FileSystemContext* context) OVERRIDE;
39 virtual scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter(
40 const storage::FileSystemURL& url,
42 storage
[all...]
/external/chromium_org/chrome/browser/chromeos/fileapi/
H A Dmtp_file_system_backend_delegate.cc7 #include "storage/browser/blob/file_stream_reader.h"
8 #include "storage/browser/fileapi/file_stream_writer.h"
9 #include "storage/browser/fileapi/file_system_url.h"
23 storage::AsyncFileUtil* MTPFileSystemBackendDelegate::GetAsyncFileUtil(
24 storage::FileSystemType type) {
25 DCHECK_EQ(storage::kFileSystemTypeDeviceMediaAsFileStorage, type);
30 scoped_ptr<storage::FileStreamReader>
32 const storage::FileSystemURL& url,
36 storage::FileSystemContext* context) {
37 DCHECK_EQ(storage
[all...]
H A Dfile_system_backend.h14 #include "storage/browser/fileapi/file_system_backend.h"
15 #include "storage/browser/fileapi/task_runner_bound_observer_list.h"
16 #include "storage/browser/quota/special_storage_policy.h"
17 #include "storage/common/fileapi/file_system_types.h"
19 namespace storage { namespace
24 } // namespace storage
63 class FileSystemBackend : public storage::ExternalFileSystemBackend {
65 using storage::FileSystemBackend::OpenFileSystemCallback;
76 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy,
77 scoped_refptr<storage
[all...]
H A Dfile_system_backend.cc15 #include "storage/browser/blob/file_stream_reader.h"
16 #include "storage/browser/fileapi/async_file_util.h"
17 #include "storage/browser/fileapi/external_mount_points.h"
18 #include "storage/browser/fileapi/file_stream_writer.h"
19 #include "storage/browser/fileapi/file_system_context.h"
20 #include "storage/browser/fileapi/file_system_operation.h"
21 #include "storage/browser/fileapi/file_system_operation_context.h"
22 #include "storage/browser/fileapi/file_system_url.h"
27 bool FileSystemBackend::CanHandleURL(const storage::FileSystemURL& url) {
30 return url.type() == storage
[all...]
/external/chromium_org/storage/browser/fileapi/
H A Dopen_file_system_mode.h8 namespace storage { namespace
20 } // namespace storage
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Ddevice_media_async_file_util.h13 #include "storage/browser/fileapi/async_file_util.h"
14 #include "storage/common/blob/shareable_file_reference.h"
16 namespace storage { namespace
21 namespace storage { namespace
30 class DeviceMediaAsyncFileUtil : public storage::AsyncFileUtil {
39 bool SupportsStreaming(const storage::FileSystemURL& url);
43 scoped_ptr<storage::FileSystemOperationContext> context,
44 const storage::FileSystemURL& url,
48 scoped_ptr<storage::FileSystemOperationContext> context,
49 const storage
[all...]
H A Dnative_media_file_util.h10 #include "storage/browser/fileapi/async_file_util.h"
21 class NativeMediaFileUtil : public storage::AsyncFileUtil {
38 const storage::AsyncFileUtil::CreateOrOpenCallback& callback,
42 const scoped_refptr<storage::ShareableFileReference>& file_ref);
46 scoped_ptr<storage::FileSystemOperationContext> context,
47 const storage::FileSystemURL& url,
51 scoped_ptr<storage::FileSystemOperationContext> context,
52 const storage::FileSystemURL& url,
55 scoped_ptr<storage::FileSystemOperationContext> context,
56 const storage
[all...]
H A Ditunes_file_util.h31 scoped_ptr<storage::FileSystemOperationContext> context,
32 const storage::FileSystemURL& url,
35 scoped_ptr<storage::FileSystemOperationContext> context,
36 const storage::FileSystemURL& url,
39 scoped_ptr<storage::FileSystemOperationContext> context,
40 const storage::FileSystemURL& url,
43 storage::FileSystemOperationContext* context,
44 const storage::FileSystemURL& url,
48 storage::FileSystemOperationContext* context,
49 const storage
[all...]
H A Dmedia_file_system_backend.h15 #include "storage/browser/fileapi/file_system_backend.h"
16 #include "storage/browser/fileapi/task_runner_bound_observer_list.h"
22 namespace storage { namespace
33 class MediaFileSystemBackend : public storage::FileSystemBackend {
53 const storage::FileSystemURL& filesystem_url,
58 virtual bool CanHandleType(storage::FileSystemType type) const OVERRIDE;
59 virtual void Initialize(storage::FileSystemContext* context) OVERRIDE;
60 virtual void ResolveURL(const storage::FileSystemURL& url,
61 storage::OpenFileSystemMode mode,
63 virtual storage
[all...]
H A Dpicasa_file_util.h36 scoped_ptr<storage::FileSystemOperationContext> context,
37 const storage::FileSystemURL& url,
40 scoped_ptr<storage::FileSystemOperationContext> context,
41 const storage::FileSystemURL& url,
44 storage::FileSystemOperationContext* context,
45 const storage::FileSystemURL& url,
49 storage::FileSystemOperationContext* context,
50 const storage::FileSystemURL& url,
53 storage::FileSystemOperationContext* context,
54 const storage
[all...]
/external/chromium_org/chrome/browser/sync_file_system/local/
H A Dsync_file_system_backend.h13 #include "storage/browser/fileapi/file_system_backend.h"
14 #include "storage/browser/fileapi/file_system_quota_util.h"
15 #include "storage/browser/fileapi/sandbox_file_system_backend_delegate.h"
16 #include "storage/browser/fileapi/task_runner_bound_observer_list.h"
23 class SyncFileSystemBackend : public storage::FileSystemBackend {
31 virtual bool CanHandleType(storage::FileSystemType type) const OVERRIDE;
32 virtual void Initialize(storage::FileSystemContext* context) OVERRIDE;
33 virtual void ResolveURL(const storage::FileSystemURL& url,
34 storage::OpenFileSystemMode mode,
36 virtual storage
[all...]

Completed in 327 milliseconds

1234567891011>>