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_ |