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

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

Issue 1723353002: Add deprecation message for AppCache in insecure contexts (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 9 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 1072 matching lines...) Expand 10 before | Expand all | Expand 10 after
1083 V8Animation_Oncancel_AttributeGetter = 1233, 1083 V8Animation_Oncancel_AttributeGetter = 1233,
1084 V8Animation_Oncancel_AttributeSetter = 1234, 1084 V8Animation_Oncancel_AttributeSetter = 1234,
1085 V8HTMLCommentInExternalScript = 1235, 1085 V8HTMLCommentInExternalScript = 1235,
1086 V8HTMLComment = 1236, 1086 V8HTMLComment = 1236,
1087 V8SloppyModeBlockScopedFunctionRedefinition = 1237, 1087 V8SloppyModeBlockScopedFunctionRedefinition = 1237,
1088 V8ForInInitializer = 1238, 1088 V8ForInInitializer = 1238,
1089 V8Animation_Id_AttributeGetter = 1239, 1089 V8Animation_Id_AttributeGetter = 1239,
1090 V8Animation_Id_AttributeSetter = 1240, 1090 V8Animation_Id_AttributeSetter = 1240,
1091 MediaStreamOnEnded = 1241, 1091 MediaStreamOnEnded = 1241,
1092 DocumentCreateEventInputEvent = 1242, 1092 DocumentCreateEventInputEvent = 1242,
1093 ApplicationCacheManifestSelectInsecureOrigin = 1243,
1094 ApplicationCacheManifestSelectSecureOrigin = 1244,
1095 ApplicationCacheAPIInsecureOrigin = 1245,
1096 ApplicationCacheAPISecureOrigin = 1246,
1093 1097
1094 // Add new features immediately above this line. Don't change assigned 1098 // Add new features immediately above this line. Don't change assigned
1095 // numbers of any item, and don't reuse removed slots. 1099 // numbers of any item, and don't reuse removed slots.
1096 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 1100 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
1097 // to update the UMA mapping. 1101 // to update the UMA mapping.
1098 NumberOfFeatures, // This enum value must be last. 1102 NumberOfFeatures, // This enum value must be last.
1099 }; 1103 };
1100 1104
1101 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1105 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1102 static void count(const Frame*, Feature); 1106 static void count(const Frame*, Feature);
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 friend class UseCounterTest; 1177 friend class UseCounterTest;
1174 static int m_muteCount; 1178 static int m_muteCount;
1175 1179
1176 CountBits m_countBits; 1180 CountBits m_countBits;
1177 BitVector m_CSSFeatureBits; 1181 BitVector m_CSSFeatureBits;
1178 }; 1182 };
1179 1183
1180 } // namespace blink 1184 } // namespace blink
1181 1185
1182 #endif // UseCounter_h 1186 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698