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

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

Issue 2383503002: Measure usage of createObjectURL and srcObject (Closed)
Patch Set: Created 4 years, 2 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 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after
1319 PaymentAddressCareOf = 1580, 1319 PaymentAddressCareOf = 1580,
1320 XSSAuditorBlockedScript = 1581, 1320 XSSAuditorBlockedScript = 1581,
1321 XSSAuditorBlockedEntirePage = 1582, 1321 XSSAuditorBlockedEntirePage = 1582,
1322 XSSAuditorDisabled = 1583, 1322 XSSAuditorDisabled = 1583,
1323 XSSAuditorEnabledFilter = 1584, 1323 XSSAuditorEnabledFilter = 1584,
1324 XSSAuditorEnabledBlock = 1585, 1324 XSSAuditorEnabledBlock = 1585,
1325 XSSAuditorInvalid = 1586, 1325 XSSAuditorInvalid = 1586,
1326 SVGCursorElement = 1587, 1326 SVGCursorElement = 1587,
1327 SVGCursorElementHasClient = 1588, 1327 SVGCursorElementHasClient = 1588,
1328 V8NavigatorUserMediaError_ConstraintName_AttributeGetter = 1589, 1328 V8NavigatorUserMediaError_ConstraintName_AttributeGetter = 1589,
1329 CreateObjectURLBlob = 1590,
1330 CreateObjectURLMediaSource = 1591,
1331 CreateObjectURLMediaStream = 1592,
1329 1332
1330 // Add new features immediately above this line. Don't change assigned 1333 // Add new features immediately above this line. Don't change assigned
1331 // numbers of any item, and don't reuse removed slots. 1334 // numbers of any item, and don't reuse removed slots.
1332 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 1335 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
1333 // to update the UMA mapping. 1336 // to update the UMA mapping.
1334 NumberOfFeatures, // This enum value must be last. 1337 NumberOfFeatures, // This enum value must be last.
1335 }; 1338 };
1336 1339
1337 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1340 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1338 static void count(const Frame*, Feature); 1341 static void count(const Frame*, Feature);
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
1401 private: 1404 private:
1402 // Tracks what features/properties need to be reported to the legacy his tograms. 1405 // Tracks what features/properties need to be reported to the legacy his tograms.
1403 BitVector m_featureBits; 1406 BitVector m_featureBits;
1404 BitVector m_CSSBits; 1407 BitVector m_CSSBits;
1405 } m_legacyCounter; 1408 } m_legacyCounter;
1406 }; 1409 };
1407 1410
1408 } // namespace blink 1411 } // namespace blink
1409 1412
1410 #endif // UseCounter_h 1413 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698