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

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

Issue 2771893002: Move Bluetooth.Web.FunctionCall.Count UMA from browser to WebKit (Closed)
Patch Set: updated idl files Created 3 years, 8 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 1479 matching lines...) Expand 10 before | Expand all | Expand 10 after
1490 V8Navigator_GetInstalledRelatedApps_Method = 1870, 1490 V8Navigator_GetInstalledRelatedApps_Method = 1870,
1491 NamedAccessOnWindow_ChildBrowsingContext = 1871, 1491 NamedAccessOnWindow_ChildBrowsingContext = 1871,
1492 NamedAccessOnWindow_ChildBrowsingContext_CrossOriginNameMismatch = 1872, 1492 NamedAccessOnWindow_ChildBrowsingContext_CrossOriginNameMismatch = 1872,
1493 V0CustomElementsRegisterHTMLCustomTag = 1873, 1493 V0CustomElementsRegisterHTMLCustomTag = 1873,
1494 V0CustomElementsRegisterHTMLTypeExtension = 1874, 1494 V0CustomElementsRegisterHTMLTypeExtension = 1874,
1495 V0CustomElementsRegisterSVGElement = 1875, 1495 V0CustomElementsRegisterSVGElement = 1875,
1496 V0CustomElementsRegisterEmbedderElement = 1876, 1496 V0CustomElementsRegisterEmbedderElement = 1876,
1497 V0CustomElementsCreateCustomTagElement = 1877, 1497 V0CustomElementsCreateCustomTagElement = 1877,
1498 V0CustomElementsCreateTypeExtensionElement = 1878, 1498 V0CustomElementsCreateTypeExtensionElement = 1878,
1499 V0CustomElementsConstruct = 1879, 1499 V0CustomElementsConstruct = 1879,
1500 WebBluetoothRemoteCharacteristicGetDescriptor = 1880,
1501 WebBluetoothRemoteCharacteristicGetDescriptors = 1881,
1502 WebBluetoothRemoteCharacteristicReadValue = 1882,
1503 WebBluetoothRemoteCharacteristicWriteValue = 1883,
1504 WebBluetoothRemoteCharacteristicStartNotifications = 1884,
1505 WebBluetoothRemoteCharacteristicStopNotifications = 1885,
1506 WebBluetoothRemoteDescriptorReadValue = 1886,
1507 WebBluetoothRemoteDescriptorWriteValue = 1887,
1508 WebBluetoothRemoteServerConnect = 1888,
1509 WebBluetoothRemoteServerDisconnect = 1889,
1510 WebBluetoothRemoteServerGetPrimaryService = 1890,
1511 WebBluetoothRemoteServerGetPrimaryServices = 1891,
1512 WebBluetoothRemoteServiceGetCharacteristic = 1892,
1513 WebBluetoothRemoteServiceGetCharacteristics = 1893,
1500 1514
1501 // Add new features immediately above this line. Don't change assigned 1515 // Add new features immediately above this line. Don't change assigned
1502 // numbers of any item, and don't reuse removed slots. 1516 // numbers of any item, and don't reuse removed slots.
1503 // Also, run update_use_counter_feature_enum.py in 1517 // Also, run update_use_counter_feature_enum.py in
1504 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1518 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1505 NumberOfFeatures, // This enum value must be last. 1519 NumberOfFeatures, // This enum value must be last.
1506 }; 1520 };
1507 1521
1508 // An interface to observe UseCounter changes. Note that this is never 1522 // An interface to observe UseCounter changes. Note that this is never
1509 // notified when the counter is disabled by |m_muteCount| or 1523 // notified when the counter is disabled by |m_muteCount| or
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
1609 // Tracks what features/properties need to be reported to the legacy 1623 // Tracks what features/properties need to be reported to the legacy
1610 // histograms. 1624 // histograms.
1611 BitVector m_featureBits; 1625 BitVector m_featureBits;
1612 BitVector m_CSSBits; 1626 BitVector m_CSSBits;
1613 } m_legacyCounter; 1627 } m_legacyCounter;
1614 }; 1628 };
1615 1629
1616 } // namespace blink 1630 } // namespace blink
1617 1631
1618 #endif // UseCounter_h 1632 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698