summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_content_client.cc
diff options
context:
space:
mode:
authorjustinlin@chromium.org <justinlin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-23 16:30:49 +0000
committerjustinlin@chromium.org <justinlin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-23 16:30:49 +0000
commit44f774648086e268e81b5d386102bfd6f08b219f (patch)
tree495e7914f1804c4904a4778644f9a90418615a57 /chrome/common/chrome_content_client.cc
parent4710df256c5d79d6144d807fd2459065521b0f3d (diff)
downloadchromium_src-44f774648086e268e81b5d386102bfd6f08b219f.zip
chromium_src-44f774648086e268e81b5d386102bfd6f08b219f.tar.gz
chromium_src-44f774648086e268e81b5d386102bfd6f08b219f.tar.bz2
Restore SnapshotTabHelper temporarily until dependencies are fixed (reverts deletions in r189969). Do not use this class in Chrome.
BUG=223374 TBR=jam@, sky@ Review URL: https://codereview.chromium.org/12770014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190027 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_content_client.cc')
-rw-r--r--chrome/common/chrome_content_client.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc
index 0bcc7a3..aaee0d8 100644
--- a/chrome/common/chrome_content_client.cc
+++ b/chrome/common/chrome_content_client.cc
@@ -399,6 +399,12 @@ bool ChromeContentClient::CanHandleWhileSwappedOut(
// Any Chrome-specific messages (apart from those listed in
// CanSendWhileSwappedOut) that must be handled by the browser when sent from
// swapped out renderers.
+ switch (msg.type()) {
+ case ChromeViewHostMsg_Snapshot::ID:
+ return true;
+ default:
+ break;
+ }
return false;
}