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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(MetadataCallback* successCallback = nullptr, ErrorCallback*
= nullptr); | 53 void getMetadata(MetadataCallback* successCallback = nullptr, ErrorCallback*
= nullptr); |
54 void moveTo(DirectoryEntry* parent, const String& name = String(), EntryCall
back* successCallback = nullptr, ErrorCallback* = 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(), EntryCall
back* successCallback = nullptr, ErrorCallback* = nullptr) const; | 55 void copyTo(DirectoryEntry* parent, const String& name = String(), EntryCall
back* successCallback = nullptr, ErrorCallback* = nullptr) const; |
56 void remove(VoidCallback* successCallback = nullptr, ErrorCallback* = nullpt
r) const; | 56 void remove(VoidCallback* successCallback = nullptr, ErrorCallback* = nullpt
r) const; |
57 void getParent(EntryCallback* successCallback = nullptr, ErrorCallback* = nu
llptr) 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 |