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

Side by Side Diff: third_party/WebKit/Source/core/frame/UseCounter.h

Issue 1946403003: Add fixed raster scale use counter histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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) 2012 Google, Inc. All rights reserved. 2 * Copyright (C) 2012 Google, 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 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after
1151 Entry_ToURL_Method_IsolatedFileSystem = 1333, 1151 Entry_ToURL_Method_IsolatedFileSystem = 1333,
1152 During_Microtask_Alert = 1334, 1152 During_Microtask_Alert = 1334,
1153 During_Microtask_Confirm = 1335, 1153 During_Microtask_Confirm = 1335,
1154 During_Microtask_Print = 1336, 1154 During_Microtask_Print = 1336,
1155 During_Microtask_Prompt = 1337, 1155 During_Microtask_Prompt = 1337,
1156 During_Microtask_SyncXHR = 1338, 1156 During_Microtask_SyncXHR = 1338,
1157 URLMethodCreateObjectURLServiceWorker = 1339, 1157 URLMethodCreateObjectURLServiceWorker = 1339,
1158 URLMethodRevokeObjectURLServiceWorker = 1340, 1158 URLMethodRevokeObjectURLServiceWorker = 1340,
1159 DocumentCreateEventPaymentRequestUpdateEvent = 1341, 1159 DocumentCreateEventPaymentRequestUpdateEvent = 1341,
1160 CredentialManagerGetReturnedCredential = 1342, 1160 CredentialManagerGetReturnedCredential = 1342,
1161 FixedRasterScaleBlurryContent = 1343,
1162 FixedRasterScalePotentialPerformanceRegression = 1344,
1161 1163
1162 // Add new features immediately above this line. Don't change assigned 1164 // Add new features immediately above this line. Don't change assigned
1163 // numbers of any item, and don't reuse removed slots. 1165 // numbers of any item, and don't reuse removed slots.
1164 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 1166 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
1165 // to update the UMA mapping. 1167 // to update the UMA mapping.
1166 NumberOfFeatures, // This enum value must be last. 1168 NumberOfFeatures, // This enum value must be last.
1167 }; 1169 };
1168 1170
1169 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1171 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1170 static void count(const Frame*, Feature); 1172 static void count(const Frame*, Feature);
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
1245 friend class UseCounterTest; 1247 friend class UseCounterTest;
1246 static int m_muteCount; 1248 static int m_muteCount;
1247 1249
1248 CountBits m_countBits; 1250 CountBits m_countBits;
1249 BitVector m_CSSFeatureBits; 1251 BitVector m_CSSFeatureBits;
1250 }; 1252 };
1251 1253
1252 } // namespace blink 1254 } // namespace blink
1253 1255
1254 #endif // UseCounter_h 1256 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698