blob: 1c2c69703a5533f4150abef52aea818ca6f3cb0c [file] [log] [blame]
// 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