[email protected] | e2b2d4a | 2009-10-24 03:32:59 | [diff] [blame] | 1 | // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
| 2 | // source code is governed by a BSD-style license that can be found in the |
| 3 | // LICENSE file. |
| 4 | |
| 5 | #ifndef CHROME_RENDERER_RENDERER_WEB_DATABASE_OBSERVER_H_ |
| 6 | #define CHROME_RENDERER_RENDERER_WEB_DATABASE_OBSERVER_H_ |
| 7 | |
| 8 | #include "ipc/ipc_message.h" |
| 9 | #include "webkit/api/public/WebDatabaseObserver.h" |
| 10 | |
| 11 | class RendererWebDatabaseObserver : public WebKit::WebDatabaseObserver { |
| 12 | public: |
| 13 | explicit RendererWebDatabaseObserver(IPC::Message::Sender* sender); |
| 14 | virtual void databaseOpened(const WebKit::WebDatabase& database); |
| 15 | virtual void databaseModified(const WebKit::WebDatabase& database); |
| 16 | virtual void databaseClosed(const WebKit::WebDatabase& database); |
| 17 | |
| 18 | private: |
| 19 | IPC::Message::Sender* sender_; |
| 20 | }; |
| 21 | |
| 22 | #endif // CHROME_RENDERER_WEB_DATABASE_OBSERVER_H_ |