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

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

Issue 1837923003: Remove font logging in unit tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove all LogFonts 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
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 14 matching lines...) Expand all
25 25
26 #include "platform/Logging.h" 26 #include "platform/Logging.h"
27 27
28 #include "wtf/text/WTFString.h" 28 #include "wtf/text/WTFString.h"
29 29
30 #if !LOG_DISABLED 30 #if !LOG_DISABLED
31 31
32 namespace blink { 32 namespace blink {
33 33
34 WTFLogChannel LogFileAPI = { WTFLogChannelOff }; 34 WTFLogChannel LogFileAPI = { WTFLogChannelOff };
35 WTFLogChannel LogFonts = { WTFLogChannelOff };
36 WTFLogChannel LogMedia = { WTFLogChannelOff }; 35 WTFLogChannel LogMedia = { WTFLogChannelOff };
37 WTFLogChannel LogNetwork = { WTFLogChannelOff }; 36 WTFLogChannel LogNetwork = { WTFLogChannelOff };
38 WTFLogChannel LogNotYetImplemented = { WTFLogChannelOff }; 37 WTFLogChannel LogNotYetImplemented = { WTFLogChannelOff };
39 WTFLogChannel LogPlugins = { WTFLogChannelOff }; 38 WTFLogChannel LogPlugins = { WTFLogChannelOff };
40 WTFLogChannel LogResourceLoading = { WTFLogChannelOff }; 39 WTFLogChannel LogResourceLoading = { WTFLogChannelOff };
41 WTFLogChannel LogSQLDatabase = { WTFLogChannelOff }; 40 WTFLogChannel LogSQLDatabase = { WTFLogChannelOff };
42 WTFLogChannel LogStorageAPI = { WTFLogChannelOff }; 41 WTFLogChannel LogStorageAPI = { WTFLogChannelOff };
43 WTFLogChannel LogTimers = { WTFLogChannelOff }; 42 WTFLogChannel LogTimers = { WTFLogChannelOff };
44 WTFLogChannel LogWebAudio = { WTFLogChannelOff }; 43 WTFLogChannel LogWebAudio = { WTFLogChannelOff };
45 44
(...skipping 25 matching lines...) Expand all
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"))) 74 if (equalIgnoringCase(channelName, String("WebAudio")))
76 return &LogWebAudio; 75 return &LogWebAudio;
77 76
78 if (equalIgnoringCase(channelName, String("Timers"))) 77 if (equalIgnoringCase(channelName, String("Timers")))
79 return &LogTimers; 78 return &LogTimers;
80 79
81 if (equalIgnoringCase(channelName, String("Fonts")))
82 return &LogFonts;
83
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') | third_party/WebKit/Source/platform/fonts/OrientationIteratorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698