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

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

Issue 2433413003: Add metrics to measure localhost resources in non-secure contexts. (Closed)
Patch Set: Spelling. Created 4 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/MixedContentChecker.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after
1366 V8RTCPeerConnection_CreateDTMFSender_Method = 1642, 1366 V8RTCPeerConnection_CreateDTMFSender_Method = 1642,
1367 V8RTCPeerConnection_GetLocalStreams_Method = 1643, 1367 V8RTCPeerConnection_GetLocalStreams_Method = 1643,
1368 V8RTCPeerConnection_GetRemoteStreams_Method = 1644, 1368 V8RTCPeerConnection_GetRemoteStreams_Method = 1644,
1369 V8RTCPeerConnection_GetStreamById_Method = 1645, 1369 V8RTCPeerConnection_GetStreamById_Method = 1645,
1370 V8RTCPeerConnection_RemoveStream_Method = 1646, 1370 V8RTCPeerConnection_RemoveStream_Method = 1646,
1371 V8RTCPeerConnection_UpdateIce_Method = 1647, 1371 V8RTCPeerConnection_UpdateIce_Method = 1647,
1372 RTCPeerConnectionCreateDataChannelMaxRetransmitTime = 1648, 1372 RTCPeerConnectionCreateDataChannelMaxRetransmitTime = 1648,
1373 RTCPeerConnectionCreateDataChannelMaxRetransmits = 1649, 1373 RTCPeerConnectionCreateDataChannelMaxRetransmits = 1649,
1374 AudioContextCreateConstantSource = 1650, 1374 AudioContextCreateConstantSource = 1650,
1375 WebAudioConstantSourceNode = 1651, 1375 WebAudioConstantSourceNode = 1651,
1376 LoopbackEmbeddedInSecureContext = 1652,
1377 LoopbackEmbeddedInNonSecureContext = 1653,
1376 1378
1377 // Add new features immediately above this line. Don't change assigned 1379 // Add new features immediately above this line. Don't change assigned
1378 // numbers of any item, and don't reuse removed slots. 1380 // numbers of any item, and don't reuse removed slots.
1379 // Also, run update_use_counter_feature_enum.py in 1381 // Also, run update_use_counter_feature_enum.py in
1380 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1382 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1381 NumberOfFeatures, // This enum value must be last. 1383 NumberOfFeatures, // This enum value must be last.
1382 }; 1384 };
1383 1385
1384 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1386 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1385 static void count(const Frame*, Feature); 1387 static void count(const Frame*, Feature);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
1454 // Tracks what features/properties need to be reported to the legacy 1456 // Tracks what features/properties need to be reported to the legacy
1455 // histograms. 1457 // histograms.
1456 BitVector m_featureBits; 1458 BitVector m_featureBits;
1457 BitVector m_CSSBits; 1459 BitVector m_CSSBits;
1458 } m_legacyCounter; 1460 } m_legacyCounter;
1459 }; 1461 };
1460 1462
1461 } // namespace blink 1463 } // namespace blink
1462 1464
1463 #endif // UseCounter_h 1465 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/MixedContentChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698