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

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

Issue 1938183002: Deprecate URL.createObjectURL/revokeObjectURL in Service Workers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Correct removed-in milestone Created 4 years, 7 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 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after
1142 EncryptedMediaAllSelectedContentTypesMissingCodecs = 1324, 1142 EncryptedMediaAllSelectedContentTypesMissingCodecs = 1324,
1143 V8DataTransferItem_WebkitGetAsEntry_Method = 1325, 1143 V8DataTransferItem_WebkitGetAsEntry_Method = 1325,
1144 V8HTMLInputElement_WebkitEntries_AttributeGetter = 1326, 1144 V8HTMLInputElement_WebkitEntries_AttributeGetter = 1326,
1145 Entry_Filesystem_AttributeGetter_IsolatedFileSystem = 1327, 1145 Entry_Filesystem_AttributeGetter_IsolatedFileSystem = 1327,
1146 Entry_GetMetadata_Method_IsolatedFileSystem = 1328, 1146 Entry_GetMetadata_Method_IsolatedFileSystem = 1328,
1147 Entry_MoveTo_Method_IsolatedFileSystem = 1329, 1147 Entry_MoveTo_Method_IsolatedFileSystem = 1329,
1148 Entry_CopyTo_Method_IsolatedFileSystem = 1330, 1148 Entry_CopyTo_Method_IsolatedFileSystem = 1330,
1149 Entry_Remove_Method_IsolatedFileSystem = 1331, 1149 Entry_Remove_Method_IsolatedFileSystem = 1331,
1150 Entry_GetParent_Method_IsolatedFileSystem = 1332, 1150 Entry_GetParent_Method_IsolatedFileSystem = 1332,
1151 Entry_ToURL_Method_IsolatedFileSystem = 1333, 1151 Entry_ToURL_Method_IsolatedFileSystem = 1333,
1152 URL_Method_CreateObjectURL_ServiceWorker = 1334,
1153 URL_Method_RevokeObjectURL_ServiceWorker = 1335,
Rick Byers 2016/05/04 20:42:18 nit: I think these underscore-style tokens are gen
jsbell 2016/05/04 23:05:56 Done. (That's what I get for turning off my brain.
1152 1154
1153 // Add new features immediately above this line. Don't change assigned 1155 // Add new features immediately above this line. Don't change assigned
1154 // numbers of any item, and don't reuse removed slots. 1156 // numbers of any item, and don't reuse removed slots.
1155 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 1157 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
1156 // to update the UMA mapping. 1158 // to update the UMA mapping.
1157 NumberOfFeatures, // This enum value must be last. 1159 NumberOfFeatures, // This enum value must be last.
1158 }; 1160 };
1159 1161
1160 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1162 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1161 static void count(const Frame*, Feature); 1163 static void count(const Frame*, Feature);
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
1236 friend class UseCounterTest; 1238 friend class UseCounterTest;
1237 static int m_muteCount; 1239 static int m_muteCount;
1238 1240
1239 CountBits m_countBits; 1241 CountBits m_countBits;
1240 BitVector m_CSSFeatureBits; 1242 BitVector m_CSSFeatureBits;
1241 }; 1243 };
1242 1244
1243 } // namespace blink 1245 } // namespace blink
1244 1246
1245 #endif // UseCounter_h 1247 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698