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

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

Issue 184473002: Sync Blob.close() behavior wrt updated spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 1688f4321291ad239c8c829d9403e5733e8e1b51..bcd47fcb37166c65a96bb5f0e10c1939cbcf8d72 100644
--- a/Source/core/fileapi/File.h
+++ b/Source/core/fileapi/File.h
@@ -32,6 +32,7 @@
namespace WebCore {
+class ExceptionState;
class ExecutionContext;
struct FileMetadata;
class KURL;
@@ -87,8 +88,8 @@ public:
}
virtual unsigned long long size() const OVERRIDE;
- virtual PassRefPtr<Blob> slice(long long start = 0, long long end = std::numeric_limits<long long>::max(), const String& contentType = String()) const OVERRIDE;
- virtual void close(ExecutionContext*) OVERRIDE;
+ virtual PassRefPtr<Blob> slice(long long start, long long end, const String& contentType, ExceptionState&) const OVERRIDE;
+ virtual void close(ExecutionContext*, ExceptionState&) OVERRIDE;
virtual bool isFile() const OVERRIDE { return true; }
virtual bool hasBackingFile() const OVERRIDE { return m_hasBackingFile; }

Powered by Google App Engine
This is Rietveld 408576698