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

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

Issue 1287273002: [Fetch] Add a deprecation warning for Request.context (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Provide a link in messages. Created 5 years, 4 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 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 V8Permissions_Request_Method = 915, 810 V8Permissions_Request_Method = 915,
811 LinkRelSubresource = 916, 811 LinkRelSubresource = 916,
812 LinkRelPrefetch = 917, 812 LinkRelPrefetch = 917,
813 LinkRelPrerender = 918, 813 LinkRelPrerender = 918,
814 LinkRelNext = 919, 814 LinkRelNext = 919,
815 PrefixedPerformanceResourceTimingBufferFull = 920, 815 PrefixedPerformanceResourceTimingBufferFull = 920,
816 CSSValuePrefixedMinContent = 921, 816 CSSValuePrefixedMinContent = 921,
817 CSSValuePrefixedMaxContent = 922, 817 CSSValuePrefixedMaxContent = 922,
818 CSSValuePrefixedFitContent = 923, 818 CSSValuePrefixedFitContent = 923,
819 CSSValuePrefixedFillAvailable = 924, 819 CSSValuePrefixedFillAvailable = 924,
820 FetchAPIRequestContext = 925,
820 821
821 // Add new features immediately above this line. Don't change assigned 822 // Add new features immediately above this line. Don't change assigned
822 // numbers of any item, and don't reuse removed slots. 823 // numbers of any item, and don't reuse removed slots.
823 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 824 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
824 // to update the UMA mapping. 825 // to update the UMA mapping.
825 NumberOfFeatures, // This enum value must be last. 826 NumberOfFeatures, // This enum value must be last.
826 }; 827 };
827 828
828 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 829 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
829 static void count(const Frame*, Feature); 830 static void count(const Frame*, Feature);
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
913 914
914 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } 915 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); }
915 916
916 CountBits m_countBits; 917 CountBits m_countBits;
917 BitVector m_CSSFeatureBits; 918 BitVector m_CSSFeatureBits;
918 }; 919 };
919 920
920 } // namespace blink 921 } // namespace blink
921 922
922 #endif // UseCounter_h 923 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/fetch/chromium/error-messages-expected.txt ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698