| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 12 matching lines...) Expand all Loading... |
| 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 #ifndef WebDOMFileSystem_h | 30 #ifndef WebDOMFileSystem_h |
| 31 #define WebDOMFileSystem_h | 31 #define WebDOMFileSystem_h |
| 32 | 32 |
| 33 #include "WebFrame.h" |
| 33 #include "public/platform/WebCommon.h" | 34 #include "public/platform/WebCommon.h" |
| 34 #include "public/platform/WebFileSystem.h" | 35 #include "public/platform/WebFileSystem.h" |
| 35 #include "public/platform/WebPrivatePtr.h" | 36 #include "public/platform/WebPrivatePtr.h" |
| 36 #include "public/platform/WebString.h" | 37 #include "public/platform/WebString.h" |
| 37 #include "public/platform/WebURL.h" | 38 #include "public/platform/WebURL.h" |
| 38 #include "WebFrame.h" | |
| 39 | 39 |
| 40 #if BLINK_IMPLEMENTATION | 40 #if BLINK_IMPLEMENTATION |
| 41 #include "platform/heap/Handle.h" | 41 #include "platform/heap/Handle.h" |
| 42 #endif | 42 #endif |
| 43 | 43 |
| 44 namespace v8 { | 44 namespace v8 { |
| 45 class Isolate; | 45 class Isolate; |
| 46 class Object; | 46 class Object; |
| 47 class Value; | 47 class Value; |
| 48 template <class T> | 48 template <class T> |
| 49 class Local; | 49 class Local; |
| 50 } | 50 } // namespace v8 |
| 51 | 51 |
| 52 namespace blink { | 52 namespace blink { |
| 53 | 53 |
| 54 class DOMFileSystem; | 54 class DOMFileSystem; |
| 55 | 55 |
| 56 class WebDOMFileSystem { | 56 class WebDOMFileSystem { |
| 57 public: | 57 public: |
| 58 enum SerializableType { | 58 enum SerializableType { |
| 59 kSerializableTypeSerializable, | 59 kSerializableTypeSerializable, |
| 60 kSerializableTypeNotSerializable, | 60 kSerializableTypeNotSerializable, |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 WebDOMFileSystem& operator=(DOMFileSystem*); | 109 WebDOMFileSystem& operator=(DOMFileSystem*); |
| 110 #endif | 110 #endif |
| 111 | 111 |
| 112 private: | 112 private: |
| 113 WebPrivatePtr<DOMFileSystem> private_; | 113 WebPrivatePtr<DOMFileSystem> private_; |
| 114 }; | 114 }; |
| 115 | 115 |
| 116 } // namespace blink | 116 } // namespace blink |
| 117 | 117 |
| 118 #endif // WebDOMFileSystem_h | 118 #endif // WebDOMFileSystem_h |
| OLD | NEW |