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

Unified Diff: content/renderer/renderer_restrict_dispatch_group.h

Issue 9917002: IPC: change sync channel dispatch restriction to allow dispatch to other channels within the same "… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: docs Created 8 years, 9 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/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | ipc/ipc_sync_channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_restrict_dispatch_group.h
diff --git a/content/renderer/renderer_restrict_dispatch_group.h b/content/renderer/renderer_restrict_dispatch_group.h
new file mode 100644
index 0000000000000000000000000000000000000000..708a9217dba63500c765a8855a602c06ad614db4
--- /dev/null
+++ b/content/renderer/renderer_restrict_dispatch_group.h
@@ -0,0 +1,25 @@
+// 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_RENDERER_RESTRICT_DISPATCH_GROUP_H_
+#define CONTENT_RENDERER_RESTRICT_DISPATCH_GROUP_H_
+#pragma once
+
+#include "ipc/ipc_sync_channel.h"
+
+namespace content {
+
+// This represents all dispatch groups used in the renderer. Dispatch groups
+// allow channels to restrict in which case incoming messages can re-enter while
+// a synchronous message is sent on another channel. See
+// IPC::SyncChannel::SetRestrictDispatchChannelGroup.
+enum RendererRestrictDispatchGroup {
+ kRendererRestrictDispatchGroup_None =
+ IPC::SyncChannel::kRestrictDispatchGroup_None,
+ kRendererRestrictDispatchGroup_Pepper,
+};
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_RESTRICT_DISPATCH_GROUP_H_
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | ipc/ipc_sync_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698