Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Side by Side Diff: content/common/web_database_observer_impl.h

Issue 6691002: Move AppCache common code to content and split off AppCache messages into the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_WEB_DATABASE_OBSERVER_IMPL_H_ 5 #ifndef CONTENT_COMMON_WEB_DATABASE_OBSERVER_IMPL_H_
6 #define CHROME_COMMON_WEB_DATABASE_OBSERVER_IMPL_H_ 6 #define CONTENT_COMMON_WEB_DATABASE_OBSERVER_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ipc/ipc_message.h" 9 #include "ipc/ipc_message.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabaseObserver.h " 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabaseObserver.h "
11 #include "webkit/database/database_connections.h" 11 #include "webkit/database/database_connections.h"
12 12
13 class WebDatabaseObserverImpl : public WebKit::WebDatabaseObserver { 13 class WebDatabaseObserverImpl : public WebKit::WebDatabaseObserver {
14 public: 14 public:
15 explicit WebDatabaseObserverImpl(IPC::Message::Sender* sender); 15 explicit WebDatabaseObserverImpl(IPC::Message::Sender* sender);
16 virtual ~WebDatabaseObserverImpl() {} 16 virtual ~WebDatabaseObserverImpl() {}
17 virtual void databaseOpened(const WebKit::WebDatabase& database); 17 virtual void databaseOpened(const WebKit::WebDatabase& database);
18 virtual void databaseModified(const WebKit::WebDatabase& database); 18 virtual void databaseModified(const WebKit::WebDatabase& database);
19 virtual void databaseClosed(const WebKit::WebDatabase& database); 19 virtual void databaseClosed(const WebKit::WebDatabase& database);
20 20
21 void WaitForAllDatabasesToClose(); 21 void WaitForAllDatabasesToClose();
22 22
23 private: 23 private:
24 IPC::Message::Sender* sender_; 24 IPC::Message::Sender* sender_;
25 bool waiting_for_dbs_to_close_; 25 bool waiting_for_dbs_to_close_;
26 webkit_database::DatabaseConnections database_connections_; 26 webkit_database::DatabaseConnections database_connections_;
27 }; 27 };
28 28
29 #endif // CHROME_COMMON_WEB_DATABASE_OBSERVER_IMPL_H_ 29 #endif // CONTENT_COMMON_WEB_DATABASE_OBSERVER_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/common/web_database_observer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698