summaryrefslogtreecommitdiffstats
path: root/content/common
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-03 17:50:36 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-03 17:50:36 +0000
commit5327dfb694dc669e8fcb9d754e7ccae6257ee63d (patch)
tree0cb5d2e3efb486b03f6cc66da5012e8e4c94d377 /content/common
parent566aae7370507db35cc3791d0bebc83daadc5945 (diff)
downloadchromium_src-5327dfb694dc669e8fcb9d754e7ccae6257ee63d.zip
chromium_src-5327dfb694dc669e8fcb9d754e7ccae6257ee63d.tar.gz
chromium_src-5327dfb694dc669e8fcb9d754e7ccae6257ee63d.tar.bz2
Start moving content_settings code out of content code.
BUG=76793 Review URL: http://codereview.chromium.org/6913013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83910 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r--content/common/child_process_host.h6
-rw-r--r--content/common/database_messages.h9
-rw-r--r--content/common/view_messages.h9
3 files changed, 3 insertions, 21 deletions
diff --git a/content/common/child_process_host.h b/content/common/child_process_host.h
index bb15134..8faf0e6 100644
--- a/content/common/child_process_host.h
+++ b/content/common/child_process_host.h
@@ -60,12 +60,12 @@ class ChildProcessHost : public IPC::Channel::Listener,
// IPC::Message::Sender implementation.
virtual bool Send(IPC::Message* message);
- protected:
- ChildProcessHost();
-
// Adds an IPC message filter. A reference will be kept to the filter.
void AddFilter(IPC::ChannelProxy::MessageFilter* filter);
+ protected:
+ ChildProcessHost();
+
// Derived classes return true if it's ok to shut down the child process.
virtual bool CanShutdown() = 0;
diff --git a/content/common/database_messages.h b/content/common/database_messages.h
index 4645b7a..f8d2d18 100644
--- a/content/common/database_messages.h
+++ b/content/common/database_messages.h
@@ -26,15 +26,6 @@ IPC_MESSAGE_CONTROL2(DatabaseMsg_CloseImmediately,
// Database messages sent from the renderer to the browser.
-// Sent by the renderer process to check whether access to web databases is
-// granted by content settings. This may block and trigger a cookie prompt.
-IPC_SYNC_MESSAGE_ROUTED4_1(DatabaseHostMsg_Allow,
- std::string /* origin_url */,
- string16 /* database name */,
- string16 /* database display name */,
- unsigned long /* estimated size */,
- bool /* result */)
-
// Asks the browser process to open a DB file with the given name.
IPC_SYNC_MESSAGE_CONTROL2_1(DatabaseHostMsg_OpenFile,
string16 /* vfs file name */,
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index ea324b7..6953964 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1572,15 +1572,6 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed,
GURL /* manifest url */,
bool /* blocked by policy */)
-// Tells the browser that a specific Web database in the current page was
-// accessed.
-IPC_MESSAGE_ROUTED5(ViewHostMsg_WebDatabaseAccessed,
- GURL /* origin url */,
- string16 /* database name */,
- string16 /* database display name */,
- unsigned long /* estimated size */,
- bool /* blocked by policy */)
-
// Initiates a download based on user actions like 'ALT+click'.
IPC_MESSAGE_ROUTED2(ViewHostMsg_DownloadUrl,
GURL /* url */,