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

Unified Diff: content/common/swapped_out_messages.h

Issue 6319001: Support window.opener after a process swap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with trunk. Created 9 years, 7 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/common/content_client.h ('k') | content/common/swapped_out_messages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/swapped_out_messages.h
diff --git a/content/common/swapped_out_messages.h b/content/common/swapped_out_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..559d6b1bf0ad78675cf8fdcdadfcb62362f33e99
--- /dev/null
+++ b/content/common/swapped_out_messages.h
@@ -0,0 +1,23 @@
+// Copyright (c) 2011 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_SWAPPED_OUT_MESSAGES_H_
+#define CONTENT_COMMON_SWAPPED_OUT_MESSAGES_H_
+#pragma once
+
+#include "ipc/ipc_message.h"
+
+namespace content {
+
+// Functions for filtering IPC messages sent from and received from a swapped
+// out renderer.
+class SwappedOutMessages {
+ public:
+ static bool CanSendWhileSwappedOut(const IPC::Message* msg);
+ static bool CanHandleWhileSwappedOut(const IPC::Message& msg);
+};
+
+} // namespace content
+
+#endif // CONTENT_COMMON_SWAPPED_OUT_MESSAGES_H_
« no previous file with comments | « content/common/content_client.h ('k') | content/common/swapped_out_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698