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

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

Issue 2917303004: Merge "Add use counters for the experimental Budget API methods" (Closed)
Patch Set: Created 3 years, 6 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/budget/BudgetService.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 1602 matching lines...) Expand 10 before | Expand all | Expand 10 after
1613 kUnitlessZeroAngleGradient = 2008, 1613 kUnitlessZeroAngleGradient = 2008,
1614 kUnitlessZeroAngleOffsetRotate = 2009, 1614 kUnitlessZeroAngleOffsetRotate = 2009,
1615 kUnitlessZeroAngleTransform = 2010, 1615 kUnitlessZeroAngleTransform = 2010,
1616 kHTMLOListElementStartGetterReversedWithoutStartAttribute = 2011, 1616 kHTMLOListElementStartGetterReversedWithoutStartAttribute = 2011,
1617 kCredentialManagerPreventSilentAccess = 2012, 1617 kCredentialManagerPreventSilentAccess = 2012,
1618 kNetInfoEffectiveType = 2013, 1618 kNetInfoEffectiveType = 2013,
1619 kTableRowDirectionDifferentFromTable = 2015, 1619 kTableRowDirectionDifferentFromTable = 2015,
1620 kTableSectionDirectionDifferentFromTable = 2016, 1620 kTableSectionDirectionDifferentFromTable = 2016,
1621 // The above items are available in M60 branch. 1621 // The above items are available in M60 branch.
1622 1622
1623 kBudgetAPIGetCost = 2021,
1624 kBudgetAPIGetBudget = 2022,
1625 // The above items were merged to the M60 branch.
1626
1623 // Add new features immediately above this line. Don't change assigned 1627 // Add new features immediately above this line. Don't change assigned
1624 // numbers of any item, and don't reuse removed slots. 1628 // numbers of any item, and don't reuse removed slots.
1625 // Also, run update_use_counter_feature_enum.py in 1629 // Also, run update_use_counter_feature_enum.py in
1626 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1630 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1627 kNumberOfFeatures, // This enum value must be last. 1631 kNumberOfFeatures, // This enum value must be last.
1628 }; 1632 };
1629 1633
1630 // An interface to observe UseCounter changes. Note that this is never 1634 // An interface to observe UseCounter changes. Note that this is never
1631 // notified when the counter is disabled by |m_muteCount| or when |m_context| 1635 // notified when the counter is disabled by |m_muteCount| or when |m_context|
1632 // is kDisabledContext. 1636 // is kDisabledContext.
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
1729 // Tracks what features/properties need to be reported to the legacy 1733 // Tracks what features/properties need to be reported to the legacy
1730 // histograms. 1734 // histograms.
1731 BitVector feature_bits_; 1735 BitVector feature_bits_;
1732 BitVector css_bits_; 1736 BitVector css_bits_;
1733 } legacy_counter_; 1737 } legacy_counter_;
1734 }; 1738 };
1735 1739
1736 } // namespace blink 1740 } // namespace blink
1737 1741
1738 #endif // UseCounter_h 1742 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/budget/BudgetService.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698