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

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

Issue 1308943005: [NetInfo] Add Blink support for connection.change, connection.downlinkMax, and wimax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 3 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 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 PresentationSessionMessageEventListener = 936, 832 PresentationSessionMessageEventListener = 936,
833 CSSAnimationsStackedNeutralKeyframe = 937, 833 CSSAnimationsStackedNeutralKeyframe = 937,
834 ReadingCheckedInClickHandler = 938, 834 ReadingCheckedInClickHandler = 938,
835 FlexboxIntrinsicSizeAlgorithmIsDifferent = 939, 835 FlexboxIntrinsicSizeAlgorithmIsDifferent = 939,
836 HTMLImportsHasStyleSheets = 940, 836 HTMLImportsHasStyleSheets = 940,
837 WebkitTextInClipProperty = 941, 837 WebkitTextInClipProperty = 941,
838 WebkitTextInColorProperty = 942, 838 WebkitTextInColorProperty = 942,
839 HeaderValueNotMatchingRFC7230 = 943, 839 HeaderValueNotMatchingRFC7230 = 943,
840 ClipPathOfPositionedElement = 944, 840 ClipPathOfPositionedElement = 944,
841 ClipCssOfPositionedElement = 945, 841 ClipCssOfPositionedElement = 945,
842 NetInfoType = 946,
843 NetInfoDownlinkMax = 947,
844 NetInfoOnChange = 948,
845 NetInfoOnTypeChange = 949,
842 846
843 // Add new features immediately above this line. Don't change assigned 847 // Add new features immediately above this line. Don't change assigned
844 // numbers of any item, and don't reuse removed slots. 848 // numbers of any item, and don't reuse removed slots.
845 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 849 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
846 // to update the UMA mapping. 850 // to update the UMA mapping.
847 NumberOfFeatures, // This enum value must be last. 851 NumberOfFeatures, // This enum value must be last.
848 }; 852 };
849 853
850 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 854 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
851 static void count(const Frame*, Feature); 855 static void count(const Frame*, Feature);
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 940
937 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } 941 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); }
938 942
939 CountBits m_countBits; 943 CountBits m_countBits;
940 BitVector m_CSSFeatureBits; 944 BitVector m_CSSFeatureBits;
941 }; 945 };
942 946
943 } // namespace blink 947 } // namespace blink
944 948
945 #endif // UseCounter_h 949 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt ('k') | Source/core/page/NetworkStateNotifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698