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

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

Issue 2490543002: Measure usage of RTCSessionDescription's type and sdp attributes (Closed)
Patch Set: add missing "be" Created 4 years, 1 month 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 | « no previous file | third_party/WebKit/Source/modules/peerconnection/RTCSessionDescription.h » ('j') | 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) 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 1369 matching lines...) Expand 10 before | Expand all | Expand 10 after
1380 RTCConfigurationIceTransportPolicyNone = 1663, 1380 RTCConfigurationIceTransportPolicyNone = 1663,
1381 RTCConfigurationIceTransports = 1664, 1381 RTCConfigurationIceTransports = 1664,
1382 DocumentFullscreenElementInV0Shadow = 1665, 1382 DocumentFullscreenElementInV0Shadow = 1665,
1383 ScriptWithCSPBypassingSchemeParserInserted = 1666, 1383 ScriptWithCSPBypassingSchemeParserInserted = 1666,
1384 ScriptWithCSPBypassingSchemeNotParserInserted = 1667, 1384 ScriptWithCSPBypassingSchemeNotParserInserted = 1667,
1385 DocumentCreateElement2ndArgStringHandling = 1668, 1385 DocumentCreateElement2ndArgStringHandling = 1668,
1386 V8MediaRecorder_Start_Method = 1669, 1386 V8MediaRecorder_Start_Method = 1669,
1387 WebBluetoothRequestDevice = 1670, 1387 WebBluetoothRequestDevice = 1670,
1388 UnitlessPerspectiveInPerspectiveProperty = 1671, 1388 UnitlessPerspectiveInPerspectiveProperty = 1671,
1389 UnitlessPerspectiveInTransformProperty = 1672, 1389 UnitlessPerspectiveInTransformProperty = 1672,
1390 V8RTCSessionDescription_Type_AttributeGetter = 1673,
1391 V8RTCSessionDescription_Type_AttributeSetter = 1674,
1392 V8RTCSessionDescription_Sdp_AttributeGetter = 1675,
1393 V8RTCSessionDescription_Sdp_AttributeSetter = 1676,
1394 RTCSessionDescriptionInitNoType = 1677,
1395 RTCSessionDescriptionInitNoSdp = 1678,
1390 1396
1391 // Add new features immediately above this line. Don't change assigned 1397 // Add new features immediately above this line. Don't change assigned
1392 // numbers of any item, and don't reuse removed slots. 1398 // numbers of any item, and don't reuse removed slots.
1393 // Also, run update_use_counter_feature_enum.py in 1399 // Also, run update_use_counter_feature_enum.py in
1394 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1400 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1395 NumberOfFeatures, // This enum value must be last. 1401 NumberOfFeatures, // This enum value must be last.
1396 }; 1402 };
1397 1403
1398 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1404 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1399 static void count(const Frame*, Feature); 1405 static void count(const Frame*, Feature);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
1468 // Tracks what features/properties need to be reported to the legacy 1474 // Tracks what features/properties need to be reported to the legacy
1469 // histograms. 1475 // histograms.
1470 BitVector m_featureBits; 1476 BitVector m_featureBits;
1471 BitVector m_CSSBits; 1477 BitVector m_CSSBits;
1472 } m_legacyCounter; 1478 } m_legacyCounter;
1473 }; 1479 };
1474 1480
1475 } // namespace blink 1481 } // namespace blink
1476 1482
1477 #endif // UseCounter_h 1483 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/peerconnection/RTCSessionDescription.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698