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 2657093004: [webnfc] Add an UMA histogram values for WebNFC API calls (Closed)
Patch Set: Rebased to master. 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/nfc/NFC.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 1425 matching lines...) Expand 10 before | Expand all | Expand 10 after
1436 HTMLTableCellElementColspan = 1783, 1436 HTMLTableCellElementColspan = 1783,
1437 HTMLTableCellElementColspanGreaterThan1000 = 1784, 1437 HTMLTableCellElementColspanGreaterThan1000 = 1784,
1438 HTMLTableCellElementColspanGreaterThan8190 = 1785, 1438 HTMLTableCellElementColspanGreaterThan8190 = 1785,
1439 SelectionAddRangeIntersect = 1786, 1439 SelectionAddRangeIntersect = 1786,
1440 PostMessageFromInsecureToSecureToplevel = 1787, 1440 PostMessageFromInsecureToSecureToplevel = 1787,
1441 V8MediaSession_Metadata_AttributeGetter = 1788, 1441 V8MediaSession_Metadata_AttributeGetter = 1788,
1442 V8MediaSession_Metadata_AttributeSetter = 1789, 1442 V8MediaSession_Metadata_AttributeSetter = 1789,
1443 V8MediaSession_PlaybackState_AttributeGetter = 1790, 1443 V8MediaSession_PlaybackState_AttributeGetter = 1790,
1444 V8MediaSession_PlaybackState_AttributeSetter = 1791, 1444 V8MediaSession_PlaybackState_AttributeSetter = 1791,
1445 V8MediaSession_SetActionHandler_Method = 1792, 1445 V8MediaSession_SetActionHandler_Method = 1792,
1446 WebNFCPush = 1793,
1447 WebNFCCancelPush = 1794,
1448 WebNFCWatch = 1795,
1449 WebNFCCancelWatch = 1796,
1446 1450
1447 // Add new features immediately above this line. Don't change assigned 1451 // Add new features immediately above this line. Don't change assigned
1448 // numbers of any item, and don't reuse removed slots. 1452 // numbers of any item, and don't reuse removed slots.
1449 // Also, run update_use_counter_feature_enum.py in 1453 // Also, run update_use_counter_feature_enum.py in
1450 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1454 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1451 NumberOfFeatures, // This enum value must be last. 1455 NumberOfFeatures, // This enum value must be last.
1452 }; 1456 };
1453 1457
1454 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1458 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1455 static void count(const Frame*, Feature); 1459 static void count(const Frame*, Feature);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
1524 // Tracks what features/properties need to be reported to the legacy 1528 // Tracks what features/properties need to be reported to the legacy
1525 // histograms. 1529 // histograms.
1526 BitVector m_featureBits; 1530 BitVector m_featureBits;
1527 BitVector m_CSSBits; 1531 BitVector m_CSSBits;
1528 } m_legacyCounter; 1532 } m_legacyCounter;
1529 }; 1533 };
1530 1534
1531 } // namespace blink 1535 } // namespace blink
1532 1536
1533 #endif // UseCounter_h 1537 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/nfc/NFC.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698