Index: ipc/ipc_message_start.h |
=================================================================== |
--- ipc/ipc_message_start.h (revision 0) |
+++ ipc/ipc_message_start.h (revision 0) |
@@ -0,0 +1,77 @@ |
+// Copyright 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 IPC_IPC_MESSAGE_START_H_ |
+#define IPC_IPC_MESSAGE_START_H_ |
+ |
+// Used by IPC_BEGIN_MESSAGES so that each message class starts from a unique |
+// base. Messages have unique IDs across channels in order for the IPC logging |
+// code to figure out the message class from its ID. |
+enum IPCMessageStart { |
+ AutomationMsgStart = 0, |
+ ViewMsgStart, |
+ PluginMsgStart, |
+ ProfileImportMsgStart, |
+ TestMsgStart, |
+ DevToolsMsgStart, |
+ WorkerMsgStart, |
+ NaClMsgStart, |
+ UtilityMsgStart, |
+ GpuMsgStart, |
+ ServiceMsgStart, |
+ PpapiMsgStart, |
+ FirefoxImporterUnittestMsgStart, |
+ FileUtilitiesMsgStart, |
+ MimeRegistryMsgStart, |
+ DatabaseMsgStart, |
+ DOMStorageMsgStart, |
+ IndexedDBMsgStart, |
+ PepperFileMsgStart, |
+ SpeechRecognitionMsgStart, |
+ PepperMsgStart, |
+ AutofillMsgStart, |
+ SafeBrowsingMsgStart, |
+ P2PMsgStart, |
+ SocketStreamMsgStart, |
+ ResourceMsgStart, |
+ FileSystemMsgStart, |
+ ChildProcessMsgStart, |
+ ClipboardMsgStart, |
+ BlobMsgStart, |
+ AppCacheMsgStart, |
+ DeviceMotionMsgStart, |
+ DeviceOrientationMsgStart, |
+ DesktopNotificationMsgStart, |
+ GeolocationMsgStart, |
+ AudioMsgStart, |
+ ChromeMsgStart, |
+ DragMsgStart, |
+ PrintMsgStart, |
+ SpellCheckMsgStart, |
+ ExtensionMsgStart, |
+ VideoCaptureMsgStart, |
+ QuotaMsgStart, |
+ IconMsgStart, |
+ TextInputClientMsgStart, |
+ ChromeUtilityMsgStart, |
+ MediaStreamMsgStart, |
+ ChromeBenchmarkingMsgStart, |
+ IntentsMsgStart, |
+ JavaBridgeMsgStart, |
+ GamepadMsgStart, |
+ ShellMsgStart, |
+ AccessibilityMsgStart, |
+ PrerenderMsgStart, |
+ ChromotingMsgStart, |
+ OldBrowserPluginMsgStart, |
+ BrowserPluginMsgStart, |
+ HyphenatorMsgStart, |
+ AndroidWebViewMsgStart, |
+ MetroViewerMsgStart, |
+ CCMsgStart, |
+ MediaPlayerMsgStart, |
+ LastIPCMsgStart // Must come last. |
+}; |
+ |
+#endif // IPC_IPC_MESSAGE_START_H_ |
Property changes on: ipc/ipc_message_start.h |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |