blob: 79bd06c98e67d10ef65bbd5e7da94330ee36d942 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// Copyright (c) 2010 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 CHROME_COMMON_WEBBLOBREGISTRY_IMPL_H_
#define CHROME_COMMON_WEBBLOBREGISTRY_IMPL_H_
#pragma once
#include "ipc/ipc_message.h"
#include "third_party/WebKit/WebKit/chromium/public/WebBlobRegistry.h"
namespace WebKit {
class WebBlobData;
class WebBlobStorageData;
class WebString;
class WebURL;
}
class WebBlobRegistryImpl : public WebKit::WebBlobRegistry {
public:
explicit WebBlobRegistryImpl(IPC::Message::Sender* sender);
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:
IPC::Message::Sender* sender_;
};
#endif // CHROME_COMMON_WEBBLOBREGISTRY_IMPL_H_
|