| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 } |
| 51 | 51 |
| 52 namespace blink { | 52 namespace blink { |
| 53 | 53 |
| 54 class DOMFileSystem; | 54 class FileSystem; |
| 55 | 55 |
| 56 class WebDOMFileSystem { | 56 class WebDOMFileSystem { |
| 57 public: | 57 public: |
| 58 enum SerializableType { | 58 enum SerializableType { |
| 59 SerializableTypeSerializable, | 59 SerializableTypeSerializable, |
| 60 SerializableTypeNotSerializable, | 60 SerializableTypeNotSerializable, |
| 61 }; | 61 }; |
| 62 enum EntryType { | 62 enum EntryType { |
| 63 EntryTypeFile, | 63 EntryTypeFile, |
| 64 EntryTypeDirectory, | 64 EntryTypeDirectory, |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 v8::Isolate*); | 98 v8::Isolate*); |
| 99 BLINK_EXPORT v8::Local<v8::Value> createV8Entry( | 99 BLINK_EXPORT v8::Local<v8::Value> createV8Entry( |
| 100 const WebString& path, | 100 const WebString& path, |
| 101 EntryType, | 101 EntryType, |
| 102 v8::Local<v8::Object> creationContext, | 102 v8::Local<v8::Object> creationContext, |
| 103 v8::Isolate*); | 103 v8::Isolate*); |
| 104 | 104 |
| 105 bool isNull() const { return m_private.isNull(); } | 105 bool isNull() const { return m_private.isNull(); } |
| 106 | 106 |
| 107 #if BLINK_IMPLEMENTATION | 107 #if BLINK_IMPLEMENTATION |
| 108 WebDOMFileSystem(DOMFileSystem*); | 108 WebDOMFileSystem(FileSystem*); |
| 109 WebDOMFileSystem& operator=(DOMFileSystem*); | 109 WebDOMFileSystem& operator=(FileSystem*); |
| 110 #endif | 110 #endif |
| 111 | 111 |
| 112 private: | 112 private: |
| 113 WebPrivatePtr<DOMFileSystem> m_private; | 113 WebPrivatePtr<FileSystem> m_private; |
| 114 }; | 114 }; |
| 115 | 115 |
| 116 } // namespace blink | 116 } // namespace blink |
| 117 | 117 |
| 118 #endif // WebDOMFileSystem_h | 118 #endif // WebDOMFileSystem_h |
| OLD | NEW |