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

Side by Side Diff: third_party/WebKit/Source/platform/Logging.cpp

Issue 1837113002: Remove WebAudio WTF Logging. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/platform/Logging.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 23 matching lines...) Expand all
34 WTFLogChannel LogFileAPI = { WTFLogChannelOff }; 34 WTFLogChannel LogFileAPI = { WTFLogChannelOff };
35 WTFLogChannel LogFonts = { WTFLogChannelOff }; 35 WTFLogChannel LogFonts = { WTFLogChannelOff };
36 WTFLogChannel LogMedia = { WTFLogChannelOff }; 36 WTFLogChannel LogMedia = { WTFLogChannelOff };
37 WTFLogChannel LogNetwork = { WTFLogChannelOff }; 37 WTFLogChannel LogNetwork = { WTFLogChannelOff };
38 WTFLogChannel LogNotYetImplemented = { WTFLogChannelOff }; 38 WTFLogChannel LogNotYetImplemented = { WTFLogChannelOff };
39 WTFLogChannel LogPlugins = { WTFLogChannelOff }; 39 WTFLogChannel LogPlugins = { WTFLogChannelOff };
40 WTFLogChannel LogResourceLoading = { WTFLogChannelOff }; 40 WTFLogChannel LogResourceLoading = { WTFLogChannelOff };
41 WTFLogChannel LogSQLDatabase = { WTFLogChannelOff }; 41 WTFLogChannel LogSQLDatabase = { WTFLogChannelOff };
42 WTFLogChannel LogStorageAPI = { WTFLogChannelOff }; 42 WTFLogChannel LogStorageAPI = { WTFLogChannelOff };
43 WTFLogChannel LogTimers = { WTFLogChannelOff }; 43 WTFLogChannel LogTimers = { WTFLogChannelOff };
44 WTFLogChannel LogWebAudio = { WTFLogChannelOff };
45 44
46 WTFLogChannel* getChannelFromName(const String& channelName) 45 WTFLogChannel* getChannelFromName(const String& channelName)
47 { 46 {
48 if (!(channelName.length() >= 2)) 47 if (!(channelName.length() >= 2))
49 return 0; 48 return 0;
50 49
51 if (equalIgnoringCase(channelName, String("Media"))) 50 if (equalIgnoringCase(channelName, String("Media")))
52 return &LogMedia; 51 return &LogMedia;
53 52
54 if (equalIgnoringCase(channelName, String("Network"))) 53 if (equalIgnoringCase(channelName, String("Network")))
(...skipping 10 matching lines...) Expand all
65 64
66 if (equalIgnoringCase(channelName, String("SQLDatabase"))) 65 if (equalIgnoringCase(channelName, String("SQLDatabase")))
67 return &LogSQLDatabase; 66 return &LogSQLDatabase;
68 67
69 if (equalIgnoringCase(channelName, String("StorageAPI"))) 68 if (equalIgnoringCase(channelName, String("StorageAPI")))
70 return &LogStorageAPI; 69 return &LogStorageAPI;
71 70
72 if (equalIgnoringCase(channelName, String("FileAPI"))) 71 if (equalIgnoringCase(channelName, String("FileAPI")))
73 return &LogFileAPI; 72 return &LogFileAPI;
74 73
75 if (equalIgnoringCase(channelName, String("WebAudio")))
76 return &LogWebAudio;
77
78 if (equalIgnoringCase(channelName, String("Timers"))) 74 if (equalIgnoringCase(channelName, String("Timers")))
79 return &LogTimers; 75 return &LogTimers;
80 76
81 if (equalIgnoringCase(channelName, String("Fonts"))) 77 if (equalIgnoringCase(channelName, String("Fonts")))
82 return &LogFonts; 78 return &LogFonts;
83 79
84 return 0; 80 return 0;
85 } 81 }
86 82
87 } 83 }
88 84
89 #endif // !LOG_DISABLED 85 #endif // !LOG_DISABLED
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/Logging.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698