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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 Supplement<LocalFrame>::trace(visitor); | 70 Supplement<LocalFrame>::trace(visitor); |
71 Supplement<WorkerClients>::trace(visitor); | 71 Supplement<WorkerClients>::trace(visitor); |
72 } | 72 } |
73 | 73 |
74 private: | 74 private: |
75 explicit LocalFileSystem(std::unique_ptr<FileSystemClient>); | 75 explicit LocalFileSystem(std::unique_ptr<FileSystemClient>); |
76 | 76 |
77 WebFileSystem* getFileSystem() const; | 77 WebFileSystem* getFileSystem() const; |
78 void fileSystemNotAvailable(ExecutionContext*, CallbackWrapper*); | 78 void fileSystemNotAvailable(ExecutionContext*, CallbackWrapper*); |
79 | 79 |
80 void requestFileSystemAccessInternal(ExecutionContext*, std::unique_ptr<Same
ThreadClosure> allowed, std::unique_ptr<SameThreadClosure> denied); | 80 void requestFileSystemAccessInternal(ExecutionContext*, std::unique_ptr<WTF:
:Closure> allowed, std::unique_ptr<WTF::Closure> denied); |
81 void fileSystemNotAllowedInternal(ExecutionContext*, CallbackWrapper*); | 81 void fileSystemNotAllowedInternal(ExecutionContext*, CallbackWrapper*); |
82 void fileSystemAllowedInternal(ExecutionContext*, FileSystemType, CallbackWr
apper*); | 82 void fileSystemAllowedInternal(ExecutionContext*, FileSystemType, CallbackWr
apper*); |
83 void resolveURLInternal(ExecutionContext*, const KURL&, CallbackWrapper*); | 83 void resolveURLInternal(ExecutionContext*, const KURL&, CallbackWrapper*); |
84 void deleteFileSystemInternal(ExecutionContext*, FileSystemType, CallbackWra
pper*); | 84 void deleteFileSystemInternal(ExecutionContext*, FileSystemType, CallbackWra
pper*); |
85 | 85 |
86 std::unique_ptr<FileSystemClient> m_client; | 86 std::unique_ptr<FileSystemClient> m_client; |
87 }; | 87 }; |
88 | 88 |
89 } // namespace blink | 89 } // namespace blink |
90 | 90 |
91 #endif // LocalFileSystem_h | 91 #endif // LocalFileSystem_h |
OLD | NEW |