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

Side by Side Diff: ppapi/proxy/interface_id.h

Issue 7655002: Convert the pp::proxy namespace to the ppapi::proxy namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 PPAPI_PROXY_INTERFACE_ID_H_ 5 #ifndef PPAPI_PROXY_INTERFACE_ID_H_
6 #define PPAPI_PROXY_INTERFACE_ID_H_ 6 #define PPAPI_PROXY_INTERFACE_ID_H_
7 7
8 namespace pp { 8 namespace ppapi {
9 namespace proxy { 9 namespace proxy {
10 10
11 // These numbers must be all small integers. They are used in a lookup table 11 // These numbers must be all small integers. They are used in a lookup table
12 // to route messages to the appropriate message handler. 12 // to route messages to the appropriate message handler.
13 enum InterfaceID { 13 enum InterfaceID {
14 // Zero is reserved for control messages. 14 // Zero is reserved for control messages.
15 INTERFACE_ID_NONE = 0, 15 INTERFACE_ID_NONE = 0,
16 INTERFACE_ID_PPB_AUDIO = 1, 16 INTERFACE_ID_PPB_AUDIO = 1,
17 INTERFACE_ID_PPB_AUDIO_CONFIG, 17 INTERFACE_ID_PPB_AUDIO_CONFIG,
18 INTERFACE_ID_PPB_BROKER, 18 INTERFACE_ID_PPB_BROKER,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 INTERFACE_ID_PPP_VIDEO_CAPTURE_DEV, 63 INTERFACE_ID_PPP_VIDEO_CAPTURE_DEV,
64 INTERFACE_ID_PPP_VIDEO_DECODER_DEV, 64 INTERFACE_ID_PPP_VIDEO_DECODER_DEV,
65 65
66 INTERFACE_ID_RESOURCE_CREATION, 66 INTERFACE_ID_RESOURCE_CREATION,
67 67
68 // Must be last to indicate the number of interface IDs. 68 // Must be last to indicate the number of interface IDs.
69 INTERFACE_ID_COUNT 69 INTERFACE_ID_COUNT
70 }; 70 };
71 71
72 } // namespace proxy 72 } // namespace proxy
73 } // namespace pp 73 } // namespace ppapi
74 74
75 #endif // PPAPI_PROXY_INTERFACE_ID_H_ 75 #endif // PPAPI_PROXY_INTERFACE_ID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698