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

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

Issue 621593003: Prepare to add a use counter for Intl.v8BreakIterator (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
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 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 AnimationPlayerSetStartTime = 546, 515 AnimationPlayerSetStartTime = 546,
516 AnimationPlayerGetCurrentTime = 547, 516 AnimationPlayerGetCurrentTime = 547,
517 AnimationPlayerSetCurrentTime = 548, 517 AnimationPlayerSetCurrentTime = 548,
518 AnimationPlayerGetPlaybackRate = 549, 518 AnimationPlayerGetPlaybackRate = 549,
519 AnimationPlayerSetPlaybackRate = 550, 519 AnimationPlayerSetPlaybackRate = 550,
520 AnimationPlayerGetPlayState = 551, 520 AnimationPlayerGetPlayState = 551,
521 AnimationPlayerFinish = 552, 521 AnimationPlayerFinish = 552,
522 AnimationPlayerPlay = 553, 522 AnimationPlayerPlay = 553,
523 AnimationPlayerPause = 554, 523 AnimationPlayerPause = 554,
524 AnimationPlayerReverse = 555, 524 AnimationPlayerReverse = 555,
525 BreakIterator = 556,
525 // Add new features immediately above this line. Don't change assigned 526 // Add new features immediately above this line. Don't change assigned
526 // numbers of any item, and don't reuse removed slots. 527 // numbers of any item, and don't reuse removed slots.
527 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 528 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
528 // to update the UMA mapping. 529 // to update the UMA mapping.
529 NumberOfFeatures, // This enum value must be last. 530 NumberOfFeatures, // This enum value must be last.
530 }; 531 };
531 532
532 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 533 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
533 static void count(const Document&, Feature); 534 static void count(const Document&, Feature);
534 // This doesn't count for ExecutionContexts for shared workers and service 535 // This doesn't count for ExecutionContexts for shared workers and service
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 586
586 void updateMeasurements(); 587 void updateMeasurements();
587 588
588 OwnPtr<BitVector> m_countBits; 589 OwnPtr<BitVector> m_countBits;
589 BitVector m_CSSFeatureBits; 590 BitVector m_CSSFeatureBits;
590 }; 591 };
591 592
592 } // namespace blink 593 } // namespace blink
593 594
594 #endif // UseCounter_h 595 #endif // UseCounter_h
OLDNEW
« Source/bindings/core/v8/V8PerIsolateData.cpp ('K') | « Source/bindings/core/v8/V8PerIsolateData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698