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

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: Resolving merge issue Created 6 years, 3 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/modules/mediastream/MediaStream.idl » ('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 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 DevToolsConsoleProfile = 518, 487 DevToolsConsoleProfile = 518,
488 SVGStyleElementTitle = 519, 488 SVGStyleElementTitle = 519,
489 PictureSourceSrc = 520, 489 PictureSourceSrc = 520,
490 // The above items are available in M38 branch. 490 // The above items are available in M38 branch.
491 491
492 Picture = 521, 492 Picture = 521,
493 Sizes = 522, 493 Sizes = 522,
494 SrcsetXDescriptor = 523, 494 SrcsetXDescriptor = 523,
495 SrcsetWDescriptor = 524, 495 SrcsetWDescriptor = 524,
496 SelectionContainsNode = 525, 496 SelectionContainsNode = 525,
497 MediaStreamEnded = 526,
497 // Add new features immediately above this line. Don't change assigned 498 // Add new features immediately above this line. Don't change assigned
498 // numbers of any item, and don't reuse removed slots. 499 // numbers of any item, and don't reuse removed slots.
499 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 500 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
500 // to update the UMA mapping. 501 // to update the UMA mapping.
501 NumberOfFeatures, // This enum value must be last. 502 NumberOfFeatures, // This enum value must be last.
502 }; 503 };
503 504
504 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 505 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
505 static void count(const Document&, Feature); 506 static void count(const Document&, Feature);
506 // This doesn't count for ExecutionContexts for shared workers and service 507 // This doesn't count for ExecutionContexts for shared workers and service
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 558
558 void updateMeasurements(); 559 void updateMeasurements();
559 560
560 OwnPtr<BitVector> m_countBits; 561 OwnPtr<BitVector> m_countBits;
561 BitVector m_CSSFeatureBits; 562 BitVector m_CSSFeatureBits;
562 }; 563 };
563 564
564 } // namespace blink 565 } // namespace blink
565 566
566 #endif // UseCounter_h 567 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | Source/modules/mediastream/MediaStream.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698