| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 { | 68 { |
| 69 WillBeHeapSupplement<LocalFrame>::trace(visitor); | 69 WillBeHeapSupplement<LocalFrame>::trace(visitor); |
| 70 WillBeHeapSupplement<WorkerClients>::trace(visitor); | 70 WillBeHeapSupplement<WorkerClients>::trace(visitor); |
| 71 } | 71 } |
| 72 | 72 |
| 73 protected: | 73 protected: |
| 74 explicit LocalFileSystem(PassOwnPtr<FileSystemClient>); | 74 explicit LocalFileSystem(PassOwnPtr<FileSystemClient>); |
| 75 | 75 |
| 76 private: | 76 private: |
| 77 WebFileSystem* fileSystem() const; | 77 WebFileSystem* fileSystem() const; |
| 78 void requestFileSystemAccessInternal(ExecutionContext*, PassOwnPtr<Closure>
allowed, PassOwnPtr<Closure> denied); | 78 void requestFileSystemAccessInternal(ExecutionContext*, PassOwnPtr<SameThrea
dClosure> allowed, PassOwnPtr<SameThreadClosure> denied); |
| 79 void fileSystemNotAvailable(PassRefPtrWillBeRawPtr<ExecutionContext>, Callba
ckWrapper*); | 79 void fileSystemNotAvailable(PassRefPtrWillBeRawPtr<ExecutionContext>, Callba
ckWrapper*); |
| 80 void fileSystemNotAllowedInternal(PassRefPtrWillBeRawPtr<ExecutionContext>,
CallbackWrapper*); | 80 void fileSystemNotAllowedInternal(PassRefPtrWillBeRawPtr<ExecutionContext>,
CallbackWrapper*); |
| 81 void fileSystemAllowedInternal(PassRefPtrWillBeRawPtr<ExecutionContext>, Fil
eSystemType, CallbackWrapper*); | 81 void fileSystemAllowedInternal(PassRefPtrWillBeRawPtr<ExecutionContext>, Fil
eSystemType, CallbackWrapper*); |
| 82 void resolveURLInternal(PassRefPtrWillBeRawPtr<ExecutionContext>, const KURL
&, CallbackWrapper*); | 82 void resolveURLInternal(PassRefPtrWillBeRawPtr<ExecutionContext>, const KURL
&, CallbackWrapper*); |
| 83 void deleteFileSystemInternal(PassRefPtrWillBeRawPtr<ExecutionContext>, File
SystemType, CallbackWrapper*); | 83 void deleteFileSystemInternal(PassRefPtrWillBeRawPtr<ExecutionContext>, File
SystemType, CallbackWrapper*); |
| 84 OwnPtr<FileSystemClient> m_client; | 84 OwnPtr<FileSystemClient> m_client; |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 } // namespace blink | 87 } // namespace blink |
| 88 | 88 |
| 89 #endif // LocalFileSystem_h | 89 #endif // LocalFileSystem_h |
| OLD | NEW |