| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 class EntrySync; | 43 class EntrySync; |
| 44 class ErrorCallback; | 44 class ErrorCallback; |
| 45 class MetadataCallback; | 45 class MetadataCallback; |
| 46 class VoidCallback; | 46 class VoidCallback; |
| 47 | 47 |
| 48 class Entry : public EntryBase, public ScriptWrappable { | 48 class Entry : public EntryBase, public ScriptWrappable { |
| 49 DEFINE_WRAPPERTYPEINFO(); | 49 DEFINE_WRAPPERTYPEINFO(); |
| 50 public: | 50 public: |
| 51 DOMFileSystem* filesystem() const { return static_cast<DOMFileSystem*>(m_fil
eSystem.get()); } | 51 DOMFileSystem* filesystem() const { return static_cast<DOMFileSystem*>(m_fil
eSystem.get()); } |
| 52 | 52 |
| 53 void getMetadata(PassOwnPtrWillBeRawPtr<MetadataCallback> successCallback =
nullptr, PassOwnPtrWillBeRawPtr<ErrorCallback> = nullptr); | 53 void getMetadata(MetadataCallback* successCallback = nullptr, ErrorCallback*
= nullptr); |
| 54 void moveTo(DirectoryEntry* parent, const String& name = String(), PassOwnPt
rWillBeRawPtr<EntryCallback> successCallback = nullptr, PassOwnPtrWillBeRawPtr<E
rrorCallback> = nullptr) const; | 54 void moveTo(DirectoryEntry* parent, const String& name = String(), EntryCall
back* successCallback = nullptr, ErrorCallback* = nullptr) const; |
| 55 void copyTo(DirectoryEntry* parent, const String& name = String(), PassOwnPt
rWillBeRawPtr<EntryCallback> successCallback = nullptr, PassOwnPtrWillBeRawPtr<E
rrorCallback> = nullptr) const; | 55 void copyTo(DirectoryEntry* parent, const String& name = String(), EntryCall
back* successCallback = nullptr, ErrorCallback* = nullptr) const; |
| 56 void remove(PassOwnPtrWillBeRawPtr<VoidCallback> successCallback = nullptr,
PassOwnPtrWillBeRawPtr<ErrorCallback> = nullptr) const; | 56 void remove(VoidCallback* successCallback = nullptr, ErrorCallback* = nullpt
r) const; |
| 57 void getParent(PassOwnPtrWillBeRawPtr<EntryCallback> successCallback = nullp
tr, PassOwnPtrWillBeRawPtr<ErrorCallback> = nullptr) const; | 57 void getParent(EntryCallback* successCallback = nullptr, ErrorCallback* = nu
llptr) const; |
| 58 | 58 |
| 59 virtual void trace(Visitor*) OVERRIDE; | 59 virtual void trace(Visitor*) OVERRIDE; |
| 60 | 60 |
| 61 protected: | 61 protected: |
| 62 Entry(DOMFileSystemBase*, const String& fullPath); | 62 Entry(DOMFileSystemBase*, const String& fullPath); |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace blink | 65 } // namespace blink |
| 66 | 66 |
| 67 #endif // Entry_h | 67 #endif // Entry_h |
| OLD | NEW |