| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef URLFileAPI_h | 5 #ifndef URLFileAPI_h |
| 6 #define URLFileAPI_h | 6 #define URLFileAPI_h |
| 7 | 7 |
| 8 #include "wtf/Allocator.h" | 8 #include "platform/wtf/Allocator.h" |
| 9 #include "wtf/Forward.h" | 9 #include "platform/wtf/Forward.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class ExceptionState; | 13 class ExceptionState; |
| 14 class ScriptState; | 14 class ScriptState; |
| 15 class Blob; | 15 class Blob; |
| 16 | 16 |
| 17 class URLFileAPI { | 17 class URLFileAPI { |
| 18 STATIC_ONLY(URLFileAPI); | 18 STATIC_ONLY(URLFileAPI); |
| 19 | 19 |
| 20 public: | 20 public: |
| 21 static String createObjectURL(ScriptState*, Blob*, ExceptionState&); | 21 static String createObjectURL(ScriptState*, Blob*, ExceptionState&); |
| 22 static void revokeObjectURL(ScriptState*, const String&); | 22 static void revokeObjectURL(ScriptState*, const String&); |
| 23 }; | 23 }; |
| 24 | 24 |
| 25 } // namespace blink | 25 } // namespace blink |
| 26 | 26 |
| 27 #endif | 27 #endif |
| OLD | NEW |