summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/renderer_web_database_observer.h
blob: 8d7ce56dfaa0b5981c8241dab737e1d317a4bb6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2009 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_RENDERER_RENDERER_WEB_DATABASE_OBSERVER_H_
#define CHROME_RENDERER_RENDERER_WEB_DATABASE_OBSERVER_H_

#include "ipc/ipc_message.h"
#include "third_party/WebKit/WebKit/chromium/public/WebDatabaseObserver.h"

class RendererWebDatabaseObserver : public WebKit::WebDatabaseObserver {
 public:
  explicit RendererWebDatabaseObserver(IPC::Message::Sender* sender);
  virtual void databaseOpened(const WebKit::WebDatabase& database);
  virtual void databaseModified(const WebKit::WebDatabase& database);
  virtual void databaseClosed(const WebKit::WebDatabase& database);

 private:
  IPC::Message::Sender* sender_;
};

#endif  // CHROME_RENDERER_RENDERER_WEB_DATABASE_OBSERVER_H_