diff options
author | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-12 16:08:56 +0000 |
---|---|---|
committer | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-12 16:08:56 +0000 |
commit | 5e14e7ded745d6d5e4f252935349285958a50cac (patch) | |
tree | 4d31c3dbee1bb1c12d802de28abec182ed63d39f /content | |
parent | 9025016cccf554e56096e0ba220cb6e38e9c57ce (diff) | |
download | chromium_src-5e14e7ded745d6d5e4f252935349285958a50cac.zip chromium_src-5e14e7ded745d6d5e4f252935349285958a50cac.tar.gz chromium_src-5e14e7ded745d6d5e4f252935349285958a50cac.tar.bz2 |
Fix Clang compile errors in content_client.
BUG=65953
TEST=Compiles on Clang.
TBR=thakis
Review URL: http://codereview.chromium.org/7014016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85137 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/common/content_client.cc | 8 | ||||
-rw-r--r-- | content/common/content_client.h | 6 |
2 files changed, 10 insertions, 4 deletions
diff --git a/content/common/content_client.cc b/content/common/content_client.cc index 53758bb..20ef855 100644 --- a/content/common/content_client.cc +++ b/content/common/content_client.cc @@ -23,4 +23,12 @@ ContentClient::ContentClient() : ContentClient::~ContentClient() { } +bool ContentClient::CanSendWhileSwappedOut(const IPC::Message* msg) { + return false; +} + +bool ContentClient::CanHandleWhileSwappedOut(const IPC::Message& msg) { + return false; +} + } // namespace content diff --git a/content/common/content_client.h b/content/common/content_client.h index 5fda6d2..913aca3 100644 --- a/content/common/content_client.h +++ b/content/common/content_client.h @@ -55,13 +55,11 @@ class ContentClient { // Returns whether the given message should be allowed to be sent from a // swapped out renderer. - virtual bool CanSendWhileSwappedOut(const IPC::Message* msg) { return false; } + virtual bool CanSendWhileSwappedOut(const IPC::Message* msg); // Returns whether the given message should be processed in the browser on // behalf of a swapped out renderer. - virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg) { - return false; - } + virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg); private: // The embedder API for participating in browser logic. |