| Index: chrome/common/web_database_observer_impl.h
|
| ===================================================================
|
| --- chrome/common/web_database_observer_impl.h (revision 77976)
|
| +++ chrome/common/web_database_observer_impl.h (working copy)
|
| @@ -1,29 +0,0 @@
|
| -// 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_WEB_DATABASE_OBSERVER_IMPL_H_
|
| -#define CHROME_COMMON_WEB_DATABASE_OBSERVER_IMPL_H_
|
| -#pragma once
|
| -
|
| -#include "ipc/ipc_message.h"
|
| -#include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabaseObserver.h"
|
| -#include "webkit/database/database_connections.h"
|
| -
|
| -class WebDatabaseObserverImpl : public WebKit::WebDatabaseObserver {
|
| - public:
|
| - explicit WebDatabaseObserverImpl(IPC::Message::Sender* sender);
|
| - virtual ~WebDatabaseObserverImpl() {}
|
| - virtual void databaseOpened(const WebKit::WebDatabase& database);
|
| - virtual void databaseModified(const WebKit::WebDatabase& database);
|
| - virtual void databaseClosed(const WebKit::WebDatabase& database);
|
| -
|
| - void WaitForAllDatabasesToClose();
|
| -
|
| - private:
|
| - IPC::Message::Sender* sender_;
|
| - bool waiting_for_dbs_to_close_;
|
| - webkit_database::DatabaseConnections database_connections_;
|
| -};
|
| -
|
| -#endif // CHROME_COMMON_WEB_DATABASE_OBSERVER_IMPL_H_
|
|
|