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

Unified Diff: chrome/common/db_message_filter.h

Issue 340067: database_dispatcher_host changes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Addressed Michael's latest comments. Created 11 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/renderer_host/resource_message_filter.cc ('k') | chrome/common/db_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/db_message_filter.h
===================================================================
--- chrome/common/db_message_filter.h (revision 31365)
+++ chrome/common/db_message_filter.h (working copy)
@@ -81,7 +81,7 @@
// and not accept any more messages.
virtual void OnChannelClosing();
- // Processes the reply to a DB request.
+ // Processes the reply to a sync DB request.
template<class ResultType>
void OnResponse(int32 message_id, ResultType result) {
DBMessageState *state = messages_awaiting_replies_->Lookup(message_id);
@@ -92,6 +92,12 @@
}
}
+ // Processes IPCs that indicate a change in the size of a DB file.
+ void OnDatabaseUpdateSize(const string16& origin_identifier,
+ const string16& database_name,
+ int64 database_size,
+ int64 space_available);
+
// The message loop for the IO thread.
MessageLoop* io_thread_message_loop_;
@@ -115,4 +121,4 @@
static DBMessageFilter* instance_;
};
-#endif // CHROME_COMMON_DB_MESSAGE_FILTER_H_
+#endif // CHROME_COMMON_DB_MESSAGE_FILTER_H_
« no previous file with comments | « chrome/browser/renderer_host/resource_message_filter.cc ('k') | chrome/common/db_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698