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

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

Issue 467093003: ended attribute has been deprecated. Adding usecounter to gather current usage statistics and let u… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | Source/core/frame/UseCounter.cpp » ('j') | Source/core/frame/UseCounter.cpp » ('J')
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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 UIEventLayerX = 511, 481 UIEventLayerX = 511,
482 UIEventLayerY = 512, 482 UIEventLayerY = 512,
483 UIEventPageX = 513, 483 UIEventPageX = 513,
484 UIEventPageY = 514, 484 UIEventPageY = 514,
485 BgPropertiesFixed = 515, 485 BgPropertiesFixed = 515,
486 HTMLImageElementComposite = 516, 486 HTMLImageElementComposite = 516,
487 DevToolsConsoleTimeline = 517, 487 DevToolsConsoleTimeline = 517,
488 DevToolsConsoleProfile = 518, 488 DevToolsConsoleProfile = 518,
489 SVGStyleElementTitle = 519, 489 SVGStyleElementTitle = 519,
490 PictureSourceSrc = 520, 490 PictureSourceSrc = 520,
491 MediaStreamEnded = 521,
491 // Add new features immediately above this line. Don't change assigned 492 // Add new features immediately above this line. Don't change assigned
492 // numbers of any item, and don't reuse removed slots. 493 // numbers of any item, and don't reuse removed slots.
493 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 494 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
494 // to update the UMA mapping. 495 // to update the UMA mapping.
495 NumberOfFeatures, // This enum value must be last. 496 NumberOfFeatures, // This enum value must be last.
496 }; 497 };
497 498
498 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 499 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
499 static void count(const Document&, Feature); 500 static void count(const Document&, Feature);
500 // This doesn't count for ExecutionContexts for shared workers and service 501 // This doesn't count for ExecutionContexts for shared workers and service
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 552
552 void updateMeasurements(); 553 void updateMeasurements();
553 554
554 OwnPtr<BitVector> m_countBits; 555 OwnPtr<BitVector> m_countBits;
555 BitVector m_CSSFeatureBits; 556 BitVector m_CSSFeatureBits;
556 }; 557 };
557 558
558 } // namespace blink 559 } // namespace blink
559 560
560 #endif // UseCounter_h 561 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/UseCounter.cpp » ('j') | Source/core/frame/UseCounter.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698