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

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

Issue 2466273006: Allow metadata preload on cellular connections and disallow autoplay muted for low end devices. (Closed)
Patch Set: add not allowed value 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
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 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after
1378 V8MediaRecorder_Start_Method = 1669, 1378 V8MediaRecorder_Start_Method = 1669,
1379 WebBluetoothRequestDevice = 1670, 1379 WebBluetoothRequestDevice = 1670,
1380 UnitlessPerspectiveInPerspectiveProperty = 1671, 1380 UnitlessPerspectiveInPerspectiveProperty = 1671,
1381 UnitlessPerspectiveInTransformProperty = 1672, 1381 UnitlessPerspectiveInTransformProperty = 1672,
1382 V8RTCSessionDescription_Type_AttributeGetter = 1673, 1382 V8RTCSessionDescription_Type_AttributeGetter = 1673,
1383 V8RTCSessionDescription_Type_AttributeSetter = 1674, 1383 V8RTCSessionDescription_Type_AttributeSetter = 1674,
1384 V8RTCSessionDescription_Sdp_AttributeGetter = 1675, 1384 V8RTCSessionDescription_Sdp_AttributeGetter = 1675,
1385 V8RTCSessionDescription_Sdp_AttributeSetter = 1676, 1385 V8RTCSessionDescription_Sdp_AttributeSetter = 1676,
1386 RTCSessionDescriptionInitNoType = 1677, 1386 RTCSessionDescriptionInitNoType = 1677,
1387 RTCSessionDescriptionInitNoSdp = 1678, 1387 RTCSessionDescriptionInitNoSdp = 1678,
1388 HTMLMediaElementPreloadForcedMetadata = 1679,
1388 1389
1389 // Add new features immediately above this line. Don't change assigned 1390 // Add new features immediately above this line. Don't change assigned
1390 // numbers of any item, and don't reuse removed slots. 1391 // numbers of any item, and don't reuse removed slots.
1391 // Also, run update_use_counter_feature_enum.py in 1392 // Also, run update_use_counter_feature_enum.py in
1392 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1393 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1393 NumberOfFeatures, // This enum value must be last. 1394 NumberOfFeatures, // This enum value must be last.
1394 }; 1395 };
1395 1396
1396 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1397 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1397 static void count(const Frame*, Feature); 1398 static void count(const Frame*, Feature);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
1466 // Tracks what features/properties need to be reported to the legacy 1467 // Tracks what features/properties need to be reported to the legacy
1467 // histograms. 1468 // histograms.
1468 BitVector m_featureBits; 1469 BitVector m_featureBits;
1469 BitVector m_CSSBits; 1470 BitVector m_CSSBits;
1470 } m_legacyCounter; 1471 } m_legacyCounter;
1471 }; 1472 };
1472 1473
1473 } // namespace blink 1474 } // namespace blink
1474 1475
1475 #endif // UseCounter_h 1476 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698