blob: cacffb204b5346bbae9a134c01f6332a97922cd4 [file] [log] [blame]
// Copyright (c) 2012 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 CONTENT_COMMON_FILEAPI_WEBBLOBREGISTRY_IMPL_H_
#define CONTENT_COMMON_FILEAPI_WEBBLOBREGISTRY_IMPL_H_
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebBlobRegistry.h"
class ChildThread;
namespace WebKit {
class WebBlobData;
class WebURL;
}
class WebBlobRegistryImpl : public WebKit::WebBlobRegistry {
public:
explicit WebBlobRegistryImpl(ChildThread* child_thread);
virtual ~WebBlobRegistryImpl();
// See WebBlobRegistry.h for documentation on these functions.
virtual void registerBlobURL(const WebKit::WebURL& url,
WebKit::WebBlobData& data);
virtual void registerBlobURL(const WebKit::WebURL& url,
const WebKit::WebURL& src_url);
virtual void unregisterBlobURL(const WebKit::WebURL& url);
private:
ChildThread* child_thread_;
};
#endif // CONTENT_COMMON_FILEAPI_WEBBLOBREGISTRY_IMPL_H_