| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 class FileSystemCallback; | 39 class FileSystemCallback; |
| 40 class WorkerGlobalScope; | 40 class WorkerGlobalScope; |
| 41 | 41 |
| 42 class WorkerGlobalScopeFileSystem { | 42 class WorkerGlobalScopeFileSystem { |
| 43 public: | 43 public: |
| 44 enum { | 44 enum { |
| 45 TEMPORARY, | 45 TEMPORARY, |
| 46 PERSISTENT, | 46 PERSISTENT, |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 static void webkitRequestFileSystem(WorkerGlobalScope*, int type, long long
size, PassOwnPtr<FileSystemCallback> successCallback, PassOwnPtr<ErrorCallback>)
; | 49 static void webkitRequestFileSystem(WorkerGlobalScope&, int type, long long
size, PassOwnPtr<FileSystemCallback> successCallback, PassOwnPtr<ErrorCallback>)
; |
| 50 static PassRefPtr<DOMFileSystemSync> webkitRequestFileSystemSync(WorkerGloba
lScope*, int type, long long size, ExceptionState&); | 50 static PassRefPtr<DOMFileSystemSync> webkitRequestFileSystemSync(WorkerGloba
lScope&, int type, long long size, ExceptionState&); |
| 51 static void webkitResolveLocalFileSystemURL(WorkerGlobalScope*, const String
& url, PassOwnPtr<EntryCallback> successCallback, PassOwnPtr<ErrorCallback>); | 51 static void webkitResolveLocalFileSystemURL(WorkerGlobalScope&, const String
& url, PassOwnPtr<EntryCallback> successCallback, PassOwnPtr<ErrorCallback>); |
| 52 static PassRefPtr<EntrySync> webkitResolveLocalFileSystemSyncURL(WorkerGloba
lScope*, const String& url, ExceptionState&); | 52 static PassRefPtr<EntrySync> webkitResolveLocalFileSystemSyncURL(WorkerGloba
lScope&, const String& url, ExceptionState&); |
| 53 | 53 |
| 54 private: | 54 private: |
| 55 WorkerGlobalScopeFileSystem(); | 55 WorkerGlobalScopeFileSystem(); |
| 56 ~WorkerGlobalScopeFileSystem(); | 56 ~WorkerGlobalScopeFileSystem(); |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace WebCore | 59 } // namespace WebCore |
| 60 | 60 |
| 61 #endif // WorkerGlobalScopeFileSystem_h | 61 #endif // WorkerGlobalScopeFileSystem_h |
| OLD | NEW |