OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 18 matching lines...) Expand all Loading... |
29 */ | 29 */ |
30 | 30 |
31 #ifndef LocalFileSystem_h | 31 #ifndef LocalFileSystem_h |
32 #define LocalFileSystem_h | 32 #define LocalFileSystem_h |
33 | 33 |
34 #include "core/workers/WorkerClients.h" | 34 #include "core/workers/WorkerClients.h" |
35 #include "platform/FileSystemType.h" | 35 #include "platform/FileSystemType.h" |
36 #include "wtf/Forward.h" | 36 #include "wtf/Forward.h" |
37 #include "wtf/Functional.h" | 37 #include "wtf/Functional.h" |
38 | 38 |
39 namespace WebCore { | 39 namespace blink { |
40 | 40 |
41 class AsyncFileSystemCallbacks; | 41 class AsyncFileSystemCallbacks; |
42 class CallbackWrapper; | 42 class CallbackWrapper; |
43 class FileSystemClient; | 43 class FileSystemClient; |
44 class ExecutionContext; | 44 class ExecutionContext; |
45 class KURL; | 45 class KURL; |
46 class LocalFrame; | 46 class LocalFrame; |
47 | 47 |
48 class LocalFileSystem FINAL : public NoBaseWillBeGarbageCollectedFinalized<Local
FileSystem>, public WillBeHeapSupplement<LocalFrame>, public WillBeHeapSupplemen
t<WorkerClients> { | 48 class LocalFileSystem FINAL : public NoBaseWillBeGarbageCollectedFinalized<Local
FileSystem>, public WillBeHeapSupplement<LocalFrame>, public WillBeHeapSupplemen
t<WorkerClients> { |
49 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(LocalFileSystem); | 49 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(LocalFileSystem); |
(...skipping 22 matching lines...) Expand all Loading... |
72 | 72 |
73 private: | 73 private: |
74 void requestFileSystemAccessInternal(ExecutionContext*, const Closure& allow
ed, const Closure& denied); | 74 void requestFileSystemAccessInternal(ExecutionContext*, const Closure& allow
ed, const Closure& denied); |
75 void fileSystemNotAllowedInternal(PassRefPtrWillBeRawPtr<ExecutionContext>,
PassRefPtr<CallbackWrapper>); | 75 void fileSystemNotAllowedInternal(PassRefPtrWillBeRawPtr<ExecutionContext>,
PassRefPtr<CallbackWrapper>); |
76 void fileSystemAllowedInternal(PassRefPtrWillBeRawPtr<ExecutionContext>, Fil
eSystemType, PassRefPtr<CallbackWrapper>); | 76 void fileSystemAllowedInternal(PassRefPtrWillBeRawPtr<ExecutionContext>, Fil
eSystemType, PassRefPtr<CallbackWrapper>); |
77 void resolveURLInternal(const KURL&, PassRefPtr<CallbackWrapper>); | 77 void resolveURLInternal(const KURL&, PassRefPtr<CallbackWrapper>); |
78 void deleteFileSystemInternal(PassRefPtrWillBeRawPtr<ExecutionContext>, File
SystemType, PassRefPtr<CallbackWrapper>); | 78 void deleteFileSystemInternal(PassRefPtrWillBeRawPtr<ExecutionContext>, File
SystemType, PassRefPtr<CallbackWrapper>); |
79 OwnPtr<FileSystemClient> m_client; | 79 OwnPtr<FileSystemClient> m_client; |
80 }; | 80 }; |
81 | 81 |
82 } // namespace WebCore | 82 } // namespace blink |
83 | 83 |
84 #endif // LocalFileSystem_h | 84 #endif // LocalFileSystem_h |
OLD | NEW |