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

Side by Side Diff: content/public/renderer/renderer_restrict_dispatch_group.h

Issue 10843017: PPAPI/NaCl: Restrict ppapi messages to unblock only ppapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move RendererRestrictDispatchGroup to content/renderer/public Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RESTRICT_DISPATCH_GROUP_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RESTRICT_DISPATCH_GROUP_H_
6 #define CONTENT_RENDERER_RESTRICT_DISPATCH_GROUP_H_ 6 #define CONTENT_PUBLIC_RENDERER_RESTRICT_DISPATCH_GROUP_H_
7 7
8 #include "ipc/ipc_sync_channel.h" 8 #include "ipc/ipc_sync_channel.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 // This represents all dispatch groups used in the renderer. Dispatch groups 12 // This represents all dispatch groups used in the renderer. Dispatch groups
13 // allow channels to restrict in which case incoming messages can re-enter while 13 // allow channels to restrict in which case incoming messages can re-enter while
14 // a synchronous message is sent on another channel. See 14 // a synchronous message is sent on another channel. See
15 // IPC::SyncChannel::SetRestrictDispatchChannelGroup. 15 // IPC::SyncChannel::SetRestrictDispatchChannelGroup.
16 enum RendererRestrictDispatchGroup { 16 enum RendererRestrictDispatchGroup {
17 kRendererRestrictDispatchGroup_None = 17 kRendererRestrictDispatchGroup_None =
18 IPC::SyncChannel::kRestrictDispatchGroup_None, 18 IPC::SyncChannel::kRestrictDispatchGroup_None,
19 kRendererRestrictDispatchGroup_Pepper, 19 kRendererRestrictDispatchGroup_Pepper,
20 }; 20 };
21 21
22 } // namespace content 22 } // namespace content
23 23
24 #endif // CONTENT_RENDERER_RESTRICT_DISPATCH_GROUP_H_ 24 #endif // CONTENT_PUBLIC_RENDERER_RESTRICT_DISPATCH_GROUP_H_
OLDNEW
« no previous file with comments | « chrome/renderer/pepper/ppb_nacl_private_impl.cc ('k') | content/renderer/pepper/pepper_broker_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698