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

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

Issue 593123003: DevTools: make console.timeline/timelineEnd work for tracing based Timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed comments 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/ConsoleBase.idl ('k') | Source/core/frame/UseCounter.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 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 MixedContentPrivateIPInPublicWebsiteActive = 528, 497 MixedContentPrivateIPInPublicWebsiteActive = 528,
498 XMLExternalResourceLoad = 529, 498 XMLExternalResourceLoad = 529,
499 MixedContentPrivateHostnameInPublicHostname = 530, 499 MixedContentPrivateHostnameInPublicHostname = 530,
500 LegacyProtocolEmbeddedAsSubresource = 531, 500 LegacyProtocolEmbeddedAsSubresource = 531,
501 RequestedSubresourceWithEmbeddedCredentials = 532, 501 RequestedSubresourceWithEmbeddedCredentials = 532,
502 NotificationCreated = 533, 502 NotificationCreated = 533,
503 NotificationClosed = 534, 503 NotificationClosed = 534,
504 NotificationPermissionRequested = 535, 504 NotificationPermissionRequested = 535,
505 MediaStreamLabel = 536, 505 MediaStreamLabel = 536,
506 MediaStreamStop = 537, 506 MediaStreamStop = 537,
507 ConsoleTimeline = 538,
508 ConsoleTimelineEnd = 539,
507 509
508 // Add new features immediately above this line. Don't change assigned 510 // Add new features immediately above this line. Don't change assigned
509 // numbers of any item, and don't reuse removed slots. 511 // numbers of any item, and don't reuse removed slots.
510 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 512 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
511 // to update the UMA mapping. 513 // to update the UMA mapping.
512 NumberOfFeatures, // This enum value must be last. 514 NumberOfFeatures, // This enum value must be last.
513 }; 515 };
514 516
515 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 517 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
516 static void count(const Document&, Feature); 518 static void count(const Document&, Feature);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 570
569 void updateMeasurements(); 571 void updateMeasurements();
570 572
571 OwnPtr<BitVector> m_countBits; 573 OwnPtr<BitVector> m_countBits;
572 BitVector m_CSSFeatureBits; 574 BitVector m_CSSFeatureBits;
573 }; 575 };
574 576
575 } // namespace blink 577 } // namespace blink
576 578
577 #endif // UseCounter_h 579 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « Source/core/frame/ConsoleBase.idl ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698