Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(799)

Unified Diff: Source/core/fileapi/File.h

Issue 564963002: New FormData methods: get, getAll, has, set, delete and iterable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: webexposed/global-interface-listing updates Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/fileapi/File.h
diff --git a/Source/core/fileapi/File.h b/Source/core/fileapi/File.h
index 58e8819d4a6a05ce9bf0697927ce16239db9ec91..0ded88fee3212ab2338fe61896b916c655ccdd8b 100644
--- a/Source/core/fileapi/File.h
+++ b/Source/core/fileapi/File.h
@@ -104,6 +104,8 @@ public:
return new File(path, name, policy, File::IsNotUserVisible);
}
+ File* clone(const String& name = String()) const;
+
virtual unsigned long long size() const override;
virtual Blob* slice(long long start, long long end, const String& contentType, ExceptionState&) const override;
virtual void close(ExecutionContext*, ExceptionState&) override;
@@ -145,6 +147,7 @@ private:
File(const String& name, double modificationTime, PassRefPtr<BlobDataHandle>);
File(const String& name, const FileMetadata&, UserVisibility);
File(const KURL& fileSystemURL, const FileMetadata&, UserVisibility);
+ File(const File&);
void invalidateSnapshotMetadata() { m_snapshotSize = -1; }
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt ('k') | Source/core/fileapi/File.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698