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

Unified Diff: third_party/WebKit/Source/core/fileapi/URLFileAPI.h

Issue 1921063002: Factor File API's 'partial interface URL' impl into separate files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/URL.idl ('k') | third_party/WebKit/Source/core/fileapi/URLFileAPI.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/fileapi/URLFileAPI.h
diff --git a/third_party/WebKit/Source/core/fileapi/URLFileAPI.h b/third_party/WebKit/Source/core/fileapi/URLFileAPI.h
new file mode 100644
index 0000000000000000000000000000000000000000..1c2c69703a5533f4150abef52aea818ca6f3cb0c
--- /dev/null
+++ b/third_party/WebKit/Source/core/fileapi/URLFileAPI.h
@@ -0,0 +1,26 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef URLFileAPI_h
+#define URLFileAPI_h
+
+#include "wtf/Allocator.h"
+#include "wtf/Forward.h"
+
+namespace blink {
+
+class ExceptionState;
+class ExecutionContext;
+class Blob;
+
+class URLFileAPI {
+ STATIC_ONLY(URLFileAPI);
+public:
+ static String createObjectURL(ExecutionContext*, Blob*, ExceptionState&);
+ static void revokeObjectURL(ExecutionContext*, const String&);
+};
+
+} // namespace blink
+
+#endif
« no previous file with comments | « third_party/WebKit/Source/core/dom/URL.idl ('k') | third_party/WebKit/Source/core/fileapi/URLFileAPI.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698