| Index: content/common_child/web_database_observer_impl.h
|
| diff --git a/content/common_child/web_database_observer_impl.h b/content/common_child/web_database_observer_impl.h
|
| deleted file mode 100644
|
| index b17bb31ec5585a0bb70e89996e09f0da0c8706bd..0000000000000000000000000000000000000000
|
| --- a/content/common_child/web_database_observer_impl.h
|
| +++ /dev/null
|
| @@ -1,53 +0,0 @@
|
| -// Copyright (c) 2012 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 CONTENT_COMMON_CHILD_WEB_DATABASE_OBSERVER_IMPL_H_
|
| -#define CONTENT_COMMON_CHILD_WEB_DATABASE_OBSERVER_IMPL_H_
|
| -
|
| -#include "base/memory/ref_counted.h"
|
| -#include "ipc/ipc_sync_message_filter.h"
|
| -#include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabaseObserver.h"
|
| -#include "webkit/common/database/database_connections.h"
|
| -
|
| -namespace content {
|
| -
|
| -class WebDatabaseObserverImpl : public WebKit::WebDatabaseObserver {
|
| - public:
|
| - explicit WebDatabaseObserverImpl(IPC::SyncMessageFilter* sender);
|
| - virtual ~WebDatabaseObserverImpl();
|
| -
|
| - virtual void databaseOpened(const WebKit::WebDatabase& database) OVERRIDE;
|
| - virtual void databaseModified(const WebKit::WebDatabase& database) OVERRIDE;
|
| - virtual void databaseClosed(const WebKit::WebDatabase& database) OVERRIDE;
|
| -
|
| - virtual void reportOpenDatabaseResult(
|
| - const WebKit::WebDatabase& database, int callsite,
|
| - int websql_error, int sqlite_error) OVERRIDE;
|
| - virtual void reportChangeVersionResult(
|
| - const WebKit::WebDatabase& database, int callsite,
|
| - int websql_error, int sqlite_error) OVERRIDE;
|
| - virtual void reportStartTransactionResult(
|
| - const WebKit::WebDatabase& database, int callsite,
|
| - int websql_error, int sqlite_error) OVERRIDE;
|
| - virtual void reportCommitTransactionResult(
|
| - const WebKit::WebDatabase& database, int callsite,
|
| - int websql_error, int sqlite_error) OVERRIDE;
|
| - virtual void reportExecuteStatementResult(
|
| - const WebKit::WebDatabase& database, int callsite,
|
| - int websql_error, int sqlite_error) OVERRIDE;
|
| - virtual void reportVacuumDatabaseResult(
|
| - const WebKit::WebDatabase& database, int sqlite_error) OVERRIDE;
|
| -
|
| - void WaitForAllDatabasesToClose();
|
| -
|
| - private:
|
| - void HandleSqliteError(const WebKit::WebDatabase& database, int error);
|
| -
|
| - scoped_refptr<IPC::SyncMessageFilter> sender_;
|
| - scoped_refptr<webkit_database::DatabaseConnectionsWrapper> open_connections_;
|
| -};
|
| -
|
| -} // namespace content
|
| -
|
| -#endif // CONTENT_COMMON_WEB_DATABASE_OBSERVER_IMPL_H_
|
|
|