| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_COMMON_WEBBLOBREGISTRY_IMPL_H_ |
| 6 #define CHROME_COMMON_WEBBLOBREGISTRY_IMPL_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "ipc/ipc_message.h" |
| 10 #include "third_party/WebKit/WebKit/chromium/public/WebBlobRegistry.h" |
| 11 |
| 12 namespace WebKit { |
| 13 class WebBlobData; |
| 14 class WebBlobStorageData; |
| 15 class WebString; |
| 16 class WebURL; |
| 17 } |
| 18 |
| 19 class WebBlobRegistryImpl : public WebKit::WebBlobRegistry { |
| 20 public: |
| 21 explicit WebBlobRegistryImpl(IPC::Message::Sender* sender); |
| 22 virtual ~WebBlobRegistryImpl(); |
| 23 |
| 24 // See WebBlobRegistry.h for documentation on these functions. |
| 25 virtual void registerBlobURL(const WebKit::WebURL& url, |
| 26 WebKit::WebBlobData& data); |
| 27 virtual void registerBlobURL(const WebKit::WebURL& url, |
| 28 const WebKit::WebURL& src_url); |
| 29 virtual void unregisterBlobURL(const WebKit::WebURL& url); |
| 30 |
| 31 private: |
| 32 IPC::Message::Sender* sender_; |
| 33 }; |
| 34 |
| 35 #endif // CHROME_COMMON_WEBBLOBREGISTRY_IMPL_H_ |
| OLD | NEW |