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

Unified Diff: content/common/db_message_filter.h

Issue 19325002: Move DBMessageFilter to content/child since its only used in child ptypes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/db_message_filter.cc ('k') | content/common/db_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/db_message_filter.h
diff --git a/content/common/db_message_filter.h b/content/common/db_message_filter.h
deleted file mode 100644
index ac157ff1e0e9f440e6c1d9f765318c9153b1ed77..0000000000000000000000000000000000000000
--- a/content/common/db_message_filter.h
+++ /dev/null
@@ -1,37 +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_DB_MESSAGE_FILTER_H_
-#define CONTENT_COMMON_DB_MESSAGE_FILTER_H_
-
-#include "ipc/ipc_channel_proxy.h"
-
-namespace content {
-
-// Receives database messages from the browser process and processes them on the
-// IO thread.
-class DBMessageFilter : public IPC::ChannelProxy::MessageFilter {
- public:
- DBMessageFilter();
-
- // IPC::ChannelProxy::MessageFilter
- virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
-
- protected:
- virtual ~DBMessageFilter() {}
-
- private:
- void OnDatabaseUpdateSize(const std::string& origin_identifier,
- const string16& database_name,
- int64 database_size);
- void OnDatabaseUpdateSpaceAvailable(const std::string& origin_identifier,
- int64 space_available);
- void OnDatabaseResetSpaceAvailable(const std::string& origin_identifier);
- void OnDatabaseCloseImmediately(const std::string& origin_identifier,
- const string16& database_name);
-};
-
-} // namespace content
-
-#endif // CONTENT_COMMON_DB_MESSAGE_FILTER_H_
« no previous file with comments | « content/child/db_message_filter.cc ('k') | content/common/db_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698