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

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

Issue 2533313002: CSP: Move 'worker-src' onto 'script-src' (Closed)
Patch Set: WPT. Created 3 years, 9 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 1470 matching lines...) Expand 10 before | Expand all | Expand 10 after
1481 VRDisplayIsConnected = 1858, 1481 VRDisplayIsConnected = 1858,
1482 VRDisplayResetPose = 1859, 1482 VRDisplayResetPose = 1859,
1483 VRDisplayCapabilitiesHasOrientation = 1860, 1483 VRDisplayCapabilitiesHasOrientation = 1860,
1484 VRDisplayDisplayName = 1861, 1484 VRDisplayDisplayName = 1861,
1485 VREyeParametersOffset = 1862, 1485 VREyeParametersOffset = 1862,
1486 VRPoseLinearVelocity = 1863, 1486 VRPoseLinearVelocity = 1863,
1487 VRPoseLinearAcceleration = 1864, 1487 VRPoseLinearAcceleration = 1864,
1488 VRPoseAngularVelocity = 1865, 1488 VRPoseAngularVelocity = 1865,
1489 VRPoseAngularAcceleration = 1866, 1489 VRPoseAngularAcceleration = 1866,
1490 CSSOverflowPaged = 1867, 1490 CSSOverflowPaged = 1867,
1491 ChildSrcAllowedWorkerThatScriptSrcBlocked = 1868,
1491 1492
1492 // Add new features immediately above this line. Don't change assigned 1493 // Add new features immediately above this line. Don't change assigned
1493 // numbers of any item, and don't reuse removed slots. 1494 // numbers of any item, and don't reuse removed slots.
1494 // Also, run update_use_counter_feature_enum.py in 1495 // Also, run update_use_counter_feature_enum.py in
1495 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1496 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1496 NumberOfFeatures, // This enum value must be last. 1497 NumberOfFeatures, // This enum value must be last.
1497 }; 1498 };
1498 1499
1499 // An interface to observe UseCounter changes. Note that this is never 1500 // An interface to observe UseCounter changes. Note that this is never
1500 // notified when the counter is disabled by |m_muteCount| or 1501 // notified when the counter is disabled by |m_muteCount| or
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
1600 // Tracks what features/properties need to be reported to the legacy 1601 // Tracks what features/properties need to be reported to the legacy
1601 // histograms. 1602 // histograms.
1602 BitVector m_featureBits; 1603 BitVector m_featureBits;
1603 BitVector m_CSSBits; 1604 BitVector m_CSSBits;
1604 } m_legacyCounter; 1605 } m_legacyCounter;
1605 }; 1606 };
1606 1607
1607 } // namespace blink 1608 } // namespace blink
1608 1609
1609 #endif // UseCounter_h 1610 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698