| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 WTFLogChannel LogEvents = { 0x00000080, "WebCoreLogLevel", WTFLogChan
nelOff }; | 40 WTFLogChannel LogEvents = { 0x00000080, "WebCoreLogLevel", WTFLogChan
nelOff }; |
| 41 | 41 |
| 42 WTFLogChannel LogEditing = { 0x00000100, "WebCoreLogLevel", WTFLogChan
nelOff }; | 42 WTFLogChannel LogEditing = { 0x00000100, "WebCoreLogLevel", WTFLogChan
nelOff }; |
| 43 WTFLogChannel LogLiveConnect = { 0x00000200, "WebCoreLogLevel", WTFLogChan
nelOff }; | 43 WTFLogChannel LogLiveConnect = { 0x00000200, "WebCoreLogLevel", WTFLogChan
nelOff }; |
| 44 WTFLogChannel LogIconDatabase = { 0x00000400, "WebCoreLogLevel", WTFLogChan
nelOff }; | 44 WTFLogChannel LogIconDatabase = { 0x00000400, "WebCoreLogLevel", WTFLogChan
nelOff }; |
| 45 WTFLogChannel LogSQLDatabase = { 0x00000800, "WebCoreLogLevel", WTFLogChan
nelOff }; | 45 WTFLogChannel LogSQLDatabase = { 0x00000800, "WebCoreLogLevel", WTFLogChan
nelOff }; |
| 46 | 46 |
| 47 WTFLogChannel LogSpellingAndGrammar ={ 0x00001000, "WebCoreLogLevel", WTFLogChan
nelOff }; | 47 WTFLogChannel LogSpellingAndGrammar ={ 0x00001000, "WebCoreLogLevel", WTFLogChan
nelOff }; |
| 48 WTFLogChannel LogBackForward = { 0x00002000, "WebCoreLogLevel", WTFLogChan
nelOff }; | 48 WTFLogChannel LogBackForward = { 0x00002000, "WebCoreLogLevel", WTFLogChan
nelOff }; |
| 49 WTFLogChannel LogHistory = { 0x00004000, "WebCoreLogLevel", WTFLogChan
nelOff }; | 49 WTFLogChannel LogHistory = { 0x00004000, "WebCoreLogLevel", WTFLogChan
nelOff }; |
| 50 WTFLogChannel LogPageCache = { 0x00008000, "WebCoreLogLevel", WTFLogChan
nelOff }; | |
| 51 | 50 |
| 52 WTFLogChannel LogPlatformLeaks = { 0x00010000, "WebCoreLogLevel", WTFLogChan
nelOff }; | 51 WTFLogChannel LogPlatformLeaks = { 0x00010000, "WebCoreLogLevel", WTFLogChan
nelOff }; |
| 53 WTFLogChannel LogResourceLoading = { 0x00020000, "WebCoreLogLevel", WTFLogChan
nelOff }; | 52 WTFLogChannel LogResourceLoading = { 0x00020000, "WebCoreLogLevel", WTFLogChan
nelOff }; |
| 54 | 53 |
| 55 WTFLogChannel LogNetwork = { 0x00100000, "WebCoreLogLevel", WTFLogChan
nelOff }; | 54 WTFLogChannel LogNetwork = { 0x00100000, "WebCoreLogLevel", WTFLogChan
nelOff }; |
| 56 WTFLogChannel LogFTP = { 0x00200000, "WebCoreLogLevel", WTFLogChan
nelOff }; | 55 WTFLogChannel LogFTP = { 0x00200000, "WebCoreLogLevel", WTFLogChan
nelOff }; |
| 57 WTFLogChannel LogThreading = { 0x00400000, "WebCoreLogLevel", WTFLogChan
nelOff }; | 56 WTFLogChannel LogThreading = { 0x00400000, "WebCoreLogLevel", WTFLogChan
nelOff }; |
| 58 WTFLogChannel LogStorageAPI = { 0x00800000, "WebCoreLogLevel", WTFLogChan
nelOff }; | 57 WTFLogChannel LogStorageAPI = { 0x00800000, "WebCoreLogLevel", WTFLogChan
nelOff }; |
| 59 | 58 |
| 60 WTFLogChannel LogMedia = { 0x01000000, "WebCoreLogLevel", WTFLogChan
nelOff }; | 59 WTFLogChannel LogMedia = { 0x01000000, "WebCoreLogLevel", WTFLogChan
nelOff }; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 99 |
| 101 if (equalIgnoringCase(channelName, String("Media"))) | 100 if (equalIgnoringCase(channelName, String("Media"))) |
| 102 return &LogMedia; | 101 return &LogMedia; |
| 103 | 102 |
| 104 if (equalIgnoringCase(channelName, String("Network"))) | 103 if (equalIgnoringCase(channelName, String("Network"))) |
| 105 return &LogNetwork; | 104 return &LogNetwork; |
| 106 | 105 |
| 107 if (equalIgnoringCase(channelName, String("NotYetImplemented"))) | 106 if (equalIgnoringCase(channelName, String("NotYetImplemented"))) |
| 108 return &LogNotYetImplemented; | 107 return &LogNotYetImplemented; |
| 109 | 108 |
| 110 if (equalIgnoringCase(channelName, String("PageCache"))) | |
| 111 return &LogPageCache; | |
| 112 | |
| 113 if (equalIgnoringCase(channelName, String("PlatformLeaks"))) | 109 if (equalIgnoringCase(channelName, String("PlatformLeaks"))) |
| 114 return &LogPlatformLeaks; | 110 return &LogPlatformLeaks; |
| 115 | 111 |
| 116 if (equalIgnoringCase(channelName, String("ResourceLoading"))) | 112 if (equalIgnoringCase(channelName, String("ResourceLoading"))) |
| 117 return &LogResourceLoading; | 113 return &LogResourceLoading; |
| 118 | 114 |
| 119 if (equalIgnoringCase(channelName, String("Plugins"))) | 115 if (equalIgnoringCase(channelName, String("Plugins"))) |
| 120 return &LogPlugins; | 116 return &LogPlugins; |
| 121 | 117 |
| 122 if (equalIgnoringCase(channelName, String("PopupBlocking"))) | 118 if (equalIgnoringCase(channelName, String("PopupBlocking"))) |
| (...skipping 28 matching lines...) Expand all Loading... |
| 151 | 147 |
| 152 if (equalIgnoringCase(channelName, String("Gamepad"))) | 148 if (equalIgnoringCase(channelName, String("Gamepad"))) |
| 153 return &LogGamepad; | 149 return &LogGamepad; |
| 154 | 150 |
| 155 return 0; | 151 return 0; |
| 156 } | 152 } |
| 157 | 153 |
| 158 } | 154 } |
| 159 | 155 |
| 160 #endif // !LOG_DISABLED | 156 #endif // !LOG_DISABLED |
| OLD | NEW |