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 22 matching lines...) Expand all Loading... |
33 namespace blink { | 33 namespace blink { |
34 | 34 |
35 class EntryCallback; | 35 class EntryCallback; |
36 class EntrySync; | 36 class EntrySync; |
37 class ErrorCallback; | 37 class ErrorCallback; |
38 class ExceptionState; | 38 class ExceptionState; |
39 class FileSystemCallback; | 39 class FileSystemCallback; |
40 class WorkerGlobalScope; | 40 class WorkerGlobalScope; |
41 | 41 |
42 class WorkerGlobalScopeFileSystem { | 42 class WorkerGlobalScopeFileSystem { |
| 43 STATIC_ONLY(WorkerGlobalScopeFileSystem); |
43 public: | 44 public: |
44 enum { | 45 enum { |
45 TEMPORARY, | 46 TEMPORARY, |
46 PERSISTENT, | 47 PERSISTENT, |
47 }; | 48 }; |
48 | 49 |
49 static void webkitRequestFileSystem(WorkerGlobalScope&, int type, long long
size, FileSystemCallback* successCallback, ErrorCallback*); | 50 static void webkitRequestFileSystem(WorkerGlobalScope&, int type, long long
size, FileSystemCallback* successCallback, ErrorCallback*); |
50 static DOMFileSystemSync* webkitRequestFileSystemSync(WorkerGlobalScope&, in
t type, long long size, ExceptionState&); | 51 static DOMFileSystemSync* webkitRequestFileSystemSync(WorkerGlobalScope&, in
t type, long long size, ExceptionState&); |
51 static void webkitResolveLocalFileSystemURL(WorkerGlobalScope&, const String
& url, EntryCallback* successCallback, ErrorCallback*); | 52 static void webkitResolveLocalFileSystemURL(WorkerGlobalScope&, const String
& url, EntryCallback* successCallback, ErrorCallback*); |
52 static EntrySync* webkitResolveLocalFileSystemSyncURL(WorkerGlobalScope&, co
nst String& url, ExceptionState&); | 53 static EntrySync* webkitResolveLocalFileSystemSyncURL(WorkerGlobalScope&, co
nst String& url, ExceptionState&); |
53 | |
54 private: | |
55 WorkerGlobalScopeFileSystem(); | |
56 ~WorkerGlobalScopeFileSystem(); | |
57 }; | 54 }; |
58 | 55 |
59 } // namespace blink | 56 } // namespace blink |
60 | 57 |
61 #endif // WorkerGlobalScopeFileSystem_h | 58 #endif // WorkerGlobalScopeFileSystem_h |
OLD | NEW |