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

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

Issue 2683333002: Add detailed use-counter stats for the prefixed quota APIs (Closed)
Patch Set: tool fix Created 3 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/quota/DeprecatedStorageInfo.idl » ('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 1438 matching lines...) Expand 10 before | Expand all | Expand 10 after
1449 CSSValueUserModifyReadOnly = 1798, 1449 CSSValueUserModifyReadOnly = 1798,
1450 CSSValueUserModifyReadWrite = 1799, 1450 CSSValueUserModifyReadWrite = 1799,
1451 CSSValueUserModifyReadWritePlaintextOnly = 1800, 1451 CSSValueUserModifyReadWritePlaintextOnly = 1800,
1452 V8TextDetector_Detect_Method = 1801, 1452 V8TextDetector_Detect_Method = 1801,
1453 CSSValueOnDemand = 1802, 1453 CSSValueOnDemand = 1802,
1454 ServiceWorkerNavigationPreload = 1803, 1454 ServiceWorkerNavigationPreload = 1803,
1455 FullscreenRequestWithPendingElement = 1804, 1455 FullscreenRequestWithPendingElement = 1804,
1456 HTMLIFrameElementAllowfullscreenAttributeSetAfterContentLoad = 1805, 1456 HTMLIFrameElementAllowfullscreenAttributeSetAfterContentLoad = 1805,
1457 PointerEventSetCaptureOutsideDispatch = 1806, 1457 PointerEventSetCaptureOutsideDispatch = 1806,
1458 NotificationPermissionRequestedInsecureOrigin = 1807, 1458 NotificationPermissionRequestedInsecureOrigin = 1807,
1459 V8DeprecatedStorageInfo_QueryUsageAndQuota_Method = 1808,
1460 V8DeprecatedStorageInfo_RequestQuota_Method = 1809,
1461 V8DeprecatedStorageQuota_QueryUsageAndQuota_Method = 1810,
1462 V8DeprecatedStorageQuota_RequestQuota_Method = 1811,
1459 1463
1460 // Add new features immediately above this line. Don't change assigned 1464 // Add new features immediately above this line. Don't change assigned
1461 // numbers of any item, and don't reuse removed slots. 1465 // numbers of any item, and don't reuse removed slots.
1462 // Also, run update_use_counter_feature_enum.py in 1466 // Also, run update_use_counter_feature_enum.py in
1463 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1467 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1464 NumberOfFeatures, // This enum value must be last. 1468 NumberOfFeatures, // This enum value must be last.
1465 }; 1469 };
1466 1470
1467 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1471 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1468 static void count(const Frame*, Feature); 1472 static void count(const Frame*, Feature);
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
1533 // Tracks what features/properties need to be reported to the legacy 1537 // Tracks what features/properties need to be reported to the legacy
1534 // histograms. 1538 // histograms.
1535 BitVector m_featureBits; 1539 BitVector m_featureBits;
1536 BitVector m_CSSBits; 1540 BitVector m_CSSBits;
1537 } m_legacyCounter; 1541 } m_legacyCounter;
1538 }; 1542 };
1539 1543
1540 } // namespace blink 1544 } // namespace blink
1541 1545
1542 #endif // UseCounter_h 1546 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/quota/DeprecatedStorageInfo.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698